mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
Enabled auto detection again
This commit is contained in:
parent
51bc0f0100
commit
59d08a4203
1 changed files with 5 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue