Skip to content
Snippets Groups Projects
Commit fce150f0 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

inline static => static inline

parent 323c0883
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......
......@@ -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);
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment