mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-08 07:37:43 -07:00
🎨 Combine M104/M109 and M140/M190 code
This commit is contained in:
parent
6689e5ed75
commit
aee971bcaf
3 changed files with 27 additions and 118 deletions
|
|
@ -648,8 +648,9 @@ private:
|
|||
#endif
|
||||
|
||||
#if HAS_EXTRUDERS
|
||||
static void M104();
|
||||
static void M109();
|
||||
static void M104_M109(const bool isM109);
|
||||
FORCE_INLINE static void M104() { M104_M109(false); }
|
||||
FORCE_INLINE static void M109() { M104_M109(true); }
|
||||
#endif
|
||||
|
||||
static void M105();
|
||||
|
|
@ -699,8 +700,9 @@ private:
|
|||
#endif
|
||||
|
||||
#if HAS_HEATED_BED
|
||||
static void M140();
|
||||
static void M190();
|
||||
static void M140_M190(const bool isM190);
|
||||
FORCE_INLINE static void M140() { M140_M190(false); }
|
||||
FORCE_INLINE static void M190() { M140_M190(true); }
|
||||
#endif
|
||||
|
||||
#if HAS_HEATED_CHAMBER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue