Use TERN_ instead of #if

This commit is contained in:
Giuliano Zaro 2020-11-02 11:38:43 +01:00 committed by GitHub
parent 283cbe5e3d
commit 6469c9c8cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -735,9 +735,7 @@ private:
static void M402(); static void M402();
#endif #endif
#if HAS_PRUSA_MMU2 TERN_(HAS_PRUSA_MMU2, static void M403());
static void M403();
#endif
#if ENABLED(FILAMENT_WIDTH_SENSOR) #if ENABLED(FILAMENT_WIDTH_SENSOR)
static void M404(); static void M404();