Quellcode durchsuchen

inline to fix warnings, smaller build size (sometimes)

Scott Lahteine vor 9 Jahren
Ursprung
Commit
976c31235d
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 6
    6
      Marlin/Marlin.h

+ 6
- 6
Marlin/Marlin.h Datei anzeigen

@@ -407,11 +407,11 @@ void calculate_volumetric_multipliers();
407 407
 /**
408 408
  * Blocking movement and shorthand functions
409 409
  */
410
-static void do_blocking_move_to(float x, float y, float z, float fr_mm_m=0.0);
411
-static void do_blocking_move_to_axis_pos(AxisEnum axis, float where, float fr_mm_m=0.0);
412
-static void do_blocking_move_to_x(float x, float fr_mm_m=0.0);
413
-static void do_blocking_move_to_y(float y);
414
-static void do_blocking_move_to_z(float z, float fr_mm_m=0.0);
415
-static void do_blocking_move_to_xy(float x, float y, float fr_mm_m=0.0);
410
+inline void do_blocking_move_to(float x, float y, float z, float fr_mm_m=0.0);
411
+inline void do_blocking_move_to_axis_pos(AxisEnum axis, float where, float fr_mm_m=0.0);
412
+inline void do_blocking_move_to_x(float x, float fr_mm_m=0.0);
413
+inline void do_blocking_move_to_y(float y);
414
+inline void do_blocking_move_to_z(float z, float fr_mm_m=0.0);
415
+inline void do_blocking_move_to_xy(float x, float y, float fr_mm_m=0.0);
416 416
 
417 417
 #endif //MARLIN_H

Laden…
Abbrechen
Speichern