From 59d08a4203cf28d0e1b45d2336364007ca2b1681 Mon Sep 17 00:00:00 2001 From: jLynx Date: Thu, 7 Apr 2022 21:30:37 +1200 Subject: [PATCH] Enabled auto detection again --- firmware/application/portapack.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/firmware/application/portapack.cpp b/firmware/application/portapack.cpp index d0057b3a..ccf46f9d 100644 --- a/firmware/application/portapack.cpp +++ b/firmware/application/portapack.cpp @@ -181,12 +181,11 @@ static PortaPackModel portapack_model() { static Optional 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();