mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Enabled auto detection again
This commit is contained in:
parent
51bc0f0100
commit
59d08a4203
@ -181,12 +181,11 @@ static PortaPackModel portapack_model() {
|
||||
static Optional<PortaPackModel> model;
|
||||
|
||||
if( !model.is_valid() ) {
|
||||
// if( audio_codec_wm8731.detected() ) {
|
||||
// model = PortaPackModel::R1_20150901; // H1R1
|
||||
// } else {
|
||||
// model = PortaPackModel::R2_20170522; // H1R2, H2+
|
||||
// }
|
||||
model = PortaPackModel::R2_20170522;
|
||||
if( audio_codec_wm8731.detected() ) {
|
||||
model = PortaPackModel::R1_20150901; // H1R1
|
||||
} else {
|
||||
model = PortaPackModel::R2_20170522; // H1R2, H2+
|
||||
}
|
||||
}
|
||||
|
||||
return model.value();
|
||||
|
Loading…
Reference in New Issue
Block a user