From fce150f09413de6884f953fb6859abb24ce3c45d Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 1 Nov 2018 23:14:20 -0500 Subject: [PATCH] inline static => static inline --- Marlin/src/feature/Max7219_Debug_LEDs.h | 2 +- Marlin/src/feature/runout.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/src/feature/Max7219_Debug_LEDs.h b/Marlin/src/feature/Max7219_Debug_LEDs.h index 8b3d19e18..643a56094 100644 --- a/Marlin/src/feature/Max7219_Debug_LEDs.h +++ b/Marlin/src/feature/Max7219_Debug_LEDs.h @@ -96,7 +96,7 @@ public: static void send(const uint8_t reg, const uint8_t data); // Refresh all units - inline static void refresh() { for (uint8_t i = 0; i < 8; i++) refresh_line(i); } + static inline void refresh() { for (uint8_t i = 0; i < 8; i++) refresh_line(i); } // Update a single native line on all units static void refresh_line(const uint8_t line); diff --git a/Marlin/src/feature/runout.h b/Marlin/src/feature/runout.h index 6e84742b8..0cd12b571 100644 --- a/Marlin/src/feature/runout.h +++ b/Marlin/src/feature/runout.h @@ -59,17 +59,17 @@ class TFilamentSensor : public FilamentSensorBase { sensor.setup(); } - inline static void reset() { + static inline void reset() { filament_ran_out = false; response.reset(); } // The sensor calls this method when filament is present - inline static void filament_present(const uint8_t extruder) { + static inline void filament_present(const uint8_t extruder) { response.filament_present(extruder); } - inline static void block_complete(const block_t *b) { + static inline void block_complete(const block_t *b) { response.block_complete(b); sensor.block_complete(b); }