Don't initialise lcd status message in definition
static variables are automatically zero initialised. Now that the status line message is initialised in ultralcd_init(), we don't need to set the variable in global scope. Saves 22 bytes of flash and 1 byte of SRAM
This commit is contained in:
parent
f1e127ace4
commit
4d6d267aef
|
|
@ -94,7 +94,7 @@ static float manual_feedrate[] = MANUAL_FEEDRATE;
|
|||
/* LCD message status */
|
||||
static LongTimer lcd_status_message_timeout;
|
||||
static uint8_t lcd_status_message_level;
|
||||
static char lcd_status_message[LCD_WIDTH + 1] = WELCOME_MSG;
|
||||
static char lcd_status_message[LCD_WIDTH + 1];
|
||||
|
||||
/* !Configuration settings */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue