Make LCD preheat vars an array to reduce code size
This commit is contained in:
parent
1226ae1912
commit
1a2310c494
4 changed files with 70 additions and 119 deletions
|
|
@ -30,12 +30,7 @@
|
|||
#define BUTTON_EXISTS(BN) (defined(BTN_## BN) && BTN_## BN >= 0)
|
||||
#define BUTTON_PRESSED(BN) !READ(BTN_## BN)
|
||||
|
||||
extern int preheatHotendTemp1,
|
||||
preheatBedTemp1,
|
||||
preheatFanSpeed1,
|
||||
preheatHotendTemp2,
|
||||
preheatBedTemp2,
|
||||
preheatFanSpeed2;
|
||||
extern int lcd_preheat_hotend_temp[2], lcd_preheat_bed_temp[2], lcd_preheat_fan_speed[2];
|
||||
|
||||
int lcd_strlen(const char* s);
|
||||
int lcd_strlen_P(const char* s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue