Browse Source

Merge pull request #3763 from gudnimg/optimisation-float-conversions

optimisation: TCodes accepts `uint8_t` not `float`
Guðni Már Gilbert 2 years ago
parent
commit
411d1da3c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -8687,7 +8687,7 @@ Sigma_Exit:
   @n Tc Load to nozzle after filament was prepared by Tc and extruder nozzle is already heated.
   */
   else if(code_seen('T')){
-        TCodes(strchr_pointer, code_value());
+        TCodes(strchr_pointer, code_value_uint8());
   } // end if(code_seen('T')) (end of T codes)
   /*!
   #### End of T-Codes