Replace types.h with millis_t.h

This commit is contained in:
Scott Lahteine
2018-10-20 16:10:50 -05:00
parent eeef4e630a
commit b641571098
9 changed files with 37 additions and 39 deletions

View File

@@ -27,6 +27,23 @@
#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
retract_zraise, // M207 Z - G10 Retract hop size
retract_recover_length, // M208 S - G11 Recover length
retract_recover_feedrate_mm_s, // M208 F - G11 Recover feedrate
swap_retract_length, // M207 W - G10 Swap Retract length
swap_retract_recover_length, // M208 W - G11 Swap Recover length
swap_retract_recover_feedrate_mm_s; // M208 R - G11 Swap Recover feedrate
} fwretract_settings_t;
#pragma pack(pop)
#if ENABLED(FWRETRACT)
class FWRetract {
private:
#if EXTRUDERS > 1
@@ -69,3 +86,5 @@ public:
};
extern FWRetract fwretract;
#endif // FWRETRACT