瀏覽代碼

optimsation: TCodes accepts uint8_t not float

Change in memory:
Flash: -20 bytes
SRAM: 0 bytes
Guðni Már Gilbert 2 年之前
父節點
當前提交
509813f60b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -8767,7 +8767,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