浏览代码

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

optimisation: TCodes accepts `uint8_t` not `float`
Guðni Már Gilbert 2 年之前
父节点
当前提交
411d1da3c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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