ソースを参照

inline static => static inline

Scott Lahteine 6年前
コミット
fce150f094
2個のファイルの変更4行の追加4行の削除
  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 ファイルの表示

96
   static void send(const uint8_t reg, const uint8_t data);
96
   static void send(const uint8_t reg, const uint8_t data);
97
 
97
 
98
   // Refresh all units
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
   // Update a single native line on all units
101
   // Update a single native line on all units
102
   static void refresh_line(const uint8_t line);
102
   static void refresh_line(const uint8_t line);

+ 3
- 3
Marlin/src/feature/runout.h ファイルの表示

59
       sensor.setup();
59
       sensor.setup();
60
     }
60
     }
61
 
61
 
62
-    inline static void reset() {
62
+    static inline void reset() {
63
       filament_ran_out = false;
63
       filament_ran_out = false;
64
       response.reset();
64
       response.reset();
65
     }
65
     }
66
 
66
 
67
     // The sensor calls this method when filament is present
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
       response.filament_present(extruder);
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
       response.block_complete(b);
73
       response.block_complete(b);
74
       sensor.block_complete(b);
74
       sensor.block_complete(b);
75
     }
75
     }

読み込み中…
キャンセル
保存