Fix 32-bit crash due to fwretract_settings_t pack(1) (#15333)
This commit is contained in:
parent
bd6d144cdb
commit
53124ca6b7
1 changed files with 0 additions and 4 deletions
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
#include "../inc/MarlinConfigPre.h"
|
#include "../inc/MarlinConfigPre.h"
|
||||||
|
|
||||||
#pragma pack(push, 1) // No padding between fields
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
float retract_length, // M207 S - G10 Retract length
|
float retract_length, // M207 S - G10 Retract length
|
||||||
retract_feedrate_mm_s, // M207 F - G10 Retract feedrate
|
retract_feedrate_mm_s, // M207 F - G10 Retract feedrate
|
||||||
|
@ -40,8 +38,6 @@ typedef struct {
|
||||||
swap_retract_recover_feedrate_mm_s; // M208 R - G11 Swap Recover feedrate
|
swap_retract_recover_feedrate_mm_s; // M208 R - G11 Swap Recover feedrate
|
||||||
} fwretract_settings_t;
|
} fwretract_settings_t;
|
||||||
|
|
||||||
#pragma pack(pop)
|
|
||||||
|
|
||||||
#if ENABLED(FWRETRACT)
|
#if ENABLED(FWRETRACT)
|
||||||
|
|
||||||
class FWRetract {
|
class FWRetract {
|
||||||
|
|
Reference in a new issue