Explorar o código

PTT: set default to muted to fix LED on startup

Roman Belyakovsky %!s(int64=2) %!d(string=hai) anos
pai
achega
d000f5e1d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      base_pack/hid_app/views/hid_ptt.c

+ 1 - 1
base_pack/hid_app/views/hid_ptt.c

@@ -250,7 +250,7 @@ HidPtt* hid_ptt_alloc(Hid* hid) {
     with_view_model(
         hid_ptt->view, HidPttModel * model, {
             model->transport = hid->transport;
-            model->muted = false; // assume we're not muted
+            model->muted = true; // assume we're muted
             model->is_mac_os = true;
         }, true);
     return hid_ptt;