Browse Source

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

Jason Smith 4 years ago
parent
commit
53124ca6b7
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      Marlin/src/feature/fwretract.h

+ 0
- 4
Marlin/src/feature/fwretract.h View File

27
 
27
 
28
 #include "../inc/MarlinConfigPre.h"
28
 #include "../inc/MarlinConfigPre.h"
29
 
29
 
30
-#pragma pack(push, 1) // No padding between fields
31
-
32
 typedef struct {
30
 typedef struct {
33
   float retract_length,                     // M207 S - G10 Retract length
31
   float retract_length,                     // M207 S - G10 Retract length
34
         retract_feedrate_mm_s,              // M207 F - G10 Retract feedrate
32
         retract_feedrate_mm_s,              // M207 F - G10 Retract feedrate
40
         swap_retract_recover_feedrate_mm_s; // M208 R - G11 Swap Recover feedrate
38
         swap_retract_recover_feedrate_mm_s; // M208 R - G11 Swap Recover feedrate
41
 } fwretract_settings_t;
39
 } fwretract_settings_t;
42
 
40
 
43
-#pragma pack(pop)
44
-
45
 #if ENABLED(FWRETRACT)
41
 #if ENABLED(FWRETRACT)
46
 
42
 
47
 class FWRetract {
43
 class FWRetract {

Loading…
Cancel
Save