Browse Source

Use const ref args in probe_pt

Scott Lahteine 9 years ago
parent
commit
2fc9ad6657
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

2006
   //   - Raise to the BETWEEN height
2006
   //   - Raise to the BETWEEN height
2007
   // - Return the probed Z position
2007
   // - Return the probed Z position
2008
   //
2008
   //
2009
-  static float probe_pt(float x, float y, bool stow = true, int verbose_level = 1) {
2009
+  static float probe_pt(const float &x, const float &y, bool stow = true, int verbose_level = 1) {
2010
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2010
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2011
       if (DEBUGGING(LEVELING)) {
2011
       if (DEBUGGING(LEVELING)) {
2012
         SERIAL_ECHOPAIR(">>> probe_pt(", x);
2012
         SERIAL_ECHOPAIR(">>> probe_pt(", x);

Loading…
Cancel
Save