1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

inline static => static inline

This commit is contained in:
Scott Lahteine 2018-11-01 23:14:20 -05:00
parent 323c088356
commit fce150f094
2 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ public:
static void send(const uint8_t reg, const uint8_t data); static void send(const uint8_t reg, const uint8_t data);
// Refresh all units // 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 // Update a single native line on all units
static void refresh_line(const uint8_t line); static void refresh_line(const uint8_t line);

View File

@ -59,17 +59,17 @@ class TFilamentSensor : public FilamentSensorBase {
sensor.setup(); sensor.setup();
} }
inline static void reset() { static inline void reset() {
filament_ran_out = false; filament_ran_out = false;
response.reset(); response.reset();
} }
// The sensor calls this method when filament is present // 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); 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); response.block_complete(b);
sensor.block_complete(b); sensor.block_complete(b);
} }