mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-12 17:49:31 +00:00
Enabled auto detection again
This commit is contained in:
@@ -181,12 +181,11 @@ static PortaPackModel portapack_model() {
|
|||||||
static Optional<PortaPackModel> model;
|
static Optional<PortaPackModel> model;
|
||||||
|
|
||||||
if( !model.is_valid() ) {
|
if( !model.is_valid() ) {
|
||||||
// if( audio_codec_wm8731.detected() ) {
|
if( audio_codec_wm8731.detected() ) {
|
||||||
// model = PortaPackModel::R1_20150901; // H1R1
|
model = PortaPackModel::R1_20150901; // H1R1
|
||||||
// } else {
|
} else {
|
||||||
// model = PortaPackModel::R2_20170522; // H1R2, H2+
|
model = PortaPackModel::R2_20170522; // H1R2, H2+
|
||||||
// }
|
}
|
||||||
model = PortaPackModel::R2_20170522;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return model.value();
|
return model.value();
|
||||||
|
|||||||
Reference in New Issue
Block a user