Fix 32-bit crash due to fwretract_settings_t pack(1) (#15333)

2.0.x
Jason Smith 5 years ago committed by Scott Lahteine
parent bd6d144cdb
commit 53124ca6b7

@ -27,8 +27,6 @@
#include "../inc/MarlinConfigPre.h"
#pragma pack(push, 1) // No padding between fields
typedef struct {
float retract_length, // M207 S - G10 Retract length
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
} fwretract_settings_t;
#pragma pack(pop)
#if ENABLED(FWRETRACT)
class FWRetract {

Loading…
Cancel
Save