Ver código fonte

PTT: set default to muted to fix LED on startup

Roman Belyakovsky 2 anos atrás
pai
commit
d000f5e1d6
1 arquivos alterados com 1 adições e 1 exclusões
  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(
     with_view_model(
         hid_ptt->view, HidPttModel * model, {
         hid_ptt->view, HidPttModel * model, {
             model->transport = hid->transport;
             model->transport = hid->transport;
-            model->muted = false; // assume we're not muted
+            model->muted = true; // assume we're muted
             model->is_mac_os = true;
             model->is_mac_os = true;
         }, true);
         }, true);
     return hid_ptt;
     return hid_ptt;