Sfoglia il codice sorgente

Variable lcd_commands_step doesn't need to be global.

Marek Bel 5 anni fa
parent
commit
9b1e3213ae
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;