|
@@ -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
|
}
|