Browse Source

inline static => static inline

Scott Lahteine 6 years ago
parent
commit
fce150f094
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      Marlin/src/feature/Max7219_Debug_LEDs.h
  2. 3
    3
      Marlin/src/feature/runout.h

+ 1
- 1
Marlin/src/feature/Max7219_Debug_LEDs.h View File

@@ -96,7 +96,7 @@ public:
96 96
   static void send(const uint8_t reg, const uint8_t data);
97 97
 
98 98
   // Refresh all units
99
-  inline static void refresh() { for (uint8_t i = 0; i < 8; i++) refresh_line(i); }
99
+  static inline void refresh() { for (uint8_t i = 0; i < 8; i++) refresh_line(i); }
100 100
 
101 101
   // Update a single native line on all units
102 102
   static void refresh_line(const uint8_t line);

+ 3
- 3
Marlin/src/feature/runout.h View File

@@ -59,17 +59,17 @@ class TFilamentSensor : public FilamentSensorBase {
59 59
       sensor.setup();
60 60
     }
61 61
 
62
-    inline static void reset() {
62
+    static inline void reset() {
63 63
       filament_ran_out = false;
64 64
       response.reset();
65 65
     }
66 66
 
67 67
     // The sensor calls this method when filament is present
68
-    inline static void filament_present(const uint8_t extruder) {
68
+    static inline void filament_present(const uint8_t extruder) {
69 69
       response.filament_present(extruder);
70 70
     }
71 71
 
72
-    inline static void block_complete(const block_t *b) {
72
+    static inline void block_complete(const block_t *b) {
73 73
       response.block_complete(b);
74 74
       sensor.block_complete(b);
75 75
     }

Loading…
Cancel
Save