mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 08:08:25 +00:00
Patch EEPROM for 32-bit
This commit is contained in:
parent
734fa91e63
commit
5c6c12dc3a
1 changed files with 7 additions and 3 deletions
|
@ -71,6 +71,8 @@
|
||||||
#include "fwretract.h"
|
#include "fwretract.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma pack(push, 1) // No padding between variables
|
||||||
|
|
||||||
typedef struct PID { float Kp, Ki, Kd; } PID;
|
typedef struct PID { float Kp, Ki, Kd; } PID;
|
||||||
typedef struct PIDC { float Kp, Ki, Kd, Kc; } PIDC;
|
typedef struct PIDC { float Kp, Ki, Kd, Kc; } PIDC;
|
||||||
|
|
||||||
|
@ -170,7 +172,7 @@ typedef struct SettingsDataStruct {
|
||||||
//
|
//
|
||||||
// ULTIPANEL
|
// ULTIPANEL
|
||||||
//
|
//
|
||||||
int lcd_preheat_hotend_temp[2], // M145 S0 H
|
int16_t lcd_preheat_hotend_temp[2], // M145 S0 H
|
||||||
lcd_preheat_bed_temp[2], // M145 S0 B
|
lcd_preheat_bed_temp[2], // M145 S0 B
|
||||||
lcd_preheat_fan_speed[2]; // M145 S0 F
|
lcd_preheat_fan_speed[2]; // M145 S0 F
|
||||||
|
|
||||||
|
@ -247,6 +249,8 @@ typedef struct SettingsDataStruct {
|
||||||
|
|
||||||
} SettingsData;
|
} SettingsData;
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
MarlinSettings settings;
|
MarlinSettings settings;
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
Loading…
Reference in a new issue