瀏覽代碼

PTT: LED reset on exit

Roman Belyakovsky 2 年之前
父節點
當前提交
0dc214b000
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      base_pack/hid_app/views/hid_ptt.c

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

@@ -258,6 +258,7 @@ HidPtt* hid_ptt_alloc(Hid* hid) {
 
 void hid_ptt_free(HidPtt* hid_ptt) {
     furi_assert(hid_ptt);
+    notification_message(hid_ptt->hid->notifications, &sequence_reset_red);
     view_free(hid_ptt->view);
     free(hid_ptt);
 }