From 0b12f68a958042fc40924b80b04ccabecd63dfef Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Mon, 13 Jul 2020 23:45:47 -0500 Subject: [PATCH] Match mic_gain types --- firmware/baseband/proc_mictx.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/baseband/proc_mictx.hpp b/firmware/baseband/proc_mictx.hpp index 588442a6..986b1017 100644 --- a/firmware/baseband/proc_mictx.hpp +++ b/firmware/baseband/proc_mictx.hpp @@ -51,7 +51,8 @@ private: ToneGen tone_gen { }; ToneGen beep_gen { }; - uint32_t divider { }, audio_gain { }; + uint32_t divider { }; + float audio_gain { }; uint64_t power_acc { 0 }; uint32_t power_acc_count { 0 }; bool play_beep { false };