소스 검색

Variable lcd_commands_step doesn't need to be global.

Marek Bel 5 년 전
부모
커밋
9b1e3213ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Firmware/ultralcd.cpp

+ 1 - 1
Firmware/ultralcd.cpp

@@ -75,7 +75,7 @@ bool presort_flag = false;
 #endif
 
 uint8_t lcd_commands_type = LCD_COMMAND_IDLE;
-uint8_t lcd_commands_step = 0;
+static uint8_t lcd_commands_step = 0;
 
 unsigned int custom_message_type = CUSTOM_MSG_TYPE_STATUS;
 unsigned int custom_message_state = 0;