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

This commit is contained in:
Jason Smith 2019-09-24 23:08:30 -07:00 committed by Scott Lahteine
parent bd6d144cdb
commit 53124ca6b7

View File

@ -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 {