Use TERN_ instead of #if
This commit is contained in:
parent
283cbe5e3d
commit
6469c9c8cc
1 changed files with 1 additions and 3 deletions
|
|
@ -735,9 +735,7 @@ private:
|
|||
static void M402();
|
||||
#endif
|
||||
|
||||
#if HAS_PRUSA_MMU2
|
||||
static void M403();
|
||||
#endif
|
||||
TERN_(HAS_PRUSA_MMU2, static void M403());
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
static void M404();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue