소스 검색

Add some warnings in lcd_buttons_update

Yuri D'Elia 2 년 전
부모
커밋
72b8f0d1e6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Firmware/lcd.cpp

+ 2 - 0
Firmware/lcd.cpp

@@ -730,6 +730,8 @@ void lcd_update_enable(uint8_t enabled)
 
 bool lcd_longpress_trigger = 0;
 
+// WARNING: this function is called from the temperature ISR.
+//          Only update flags, but do not perform any menu/lcd operation!
 void lcd_buttons_update(void)
 {
     static uint8_t lcd_long_press_active = 0;