浏览代码

Reduce some tmc_util strings

Scott Lahteine 7 年前
父节点
当前提交
978f342392
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/src/feature/tmc_util.cpp

+ 4
- 4
Marlin/src/feature/tmc_util.cpp 查看文件

229
 
229
 
230
 void _tmc_say_current(const TMC_AxisEnum axis, const uint16_t curr) {
230
 void _tmc_say_current(const TMC_AxisEnum axis, const uint16_t curr) {
231
   _tmc_say_axis(axis);
231
   _tmc_say_axis(axis);
232
-  SERIAL_ECHOLNPAIR(" axis driver current: ", curr);
232
+  SERIAL_ECHOLNPAIR(" driver current: ", curr);
233
 }
233
 }
234
 void _tmc_say_otpw(const TMC_AxisEnum axis, const bool otpw) {
234
 void _tmc_say_otpw(const TMC_AxisEnum axis, const bool otpw) {
235
   _tmc_say_axis(axis);
235
   _tmc_say_axis(axis);
236
-  SERIAL_ECHOPGM(" axis temperature prewarn triggered: ");
236
+  SERIAL_ECHOPGM(" temperature prewarn triggered: ");
237
   serialprintPGM(otpw ? PSTR("true") : PSTR("false"));
237
   serialprintPGM(otpw ? PSTR("true") : PSTR("false"));
238
   SERIAL_EOL();
238
   SERIAL_EOL();
239
 }
239
 }
243
 }
243
 }
244
 void _tmc_say_pwmthrs(const TMC_AxisEnum axis, const uint32_t thrs) {
244
 void _tmc_say_pwmthrs(const TMC_AxisEnum axis, const uint32_t thrs) {
245
   _tmc_say_axis(axis);
245
   _tmc_say_axis(axis);
246
-  SERIAL_ECHOLNPAIR(" stealthChop max speed set to ", thrs);
246
+  SERIAL_ECHOLNPAIR(" stealthChop max speed: ", thrs);
247
 }
247
 }
248
 void _tmc_say_sgt(const TMC_AxisEnum axis, const int8_t sgt) {
248
 void _tmc_say_sgt(const TMC_AxisEnum axis, const int8_t sgt) {
249
   _tmc_say_axis(axis);
249
   _tmc_say_axis(axis);
250
-  SERIAL_ECHOPGM(" driver homing sensitivity set to ");
250
+  SERIAL_ECHOPGM(" homing sensitivity: ");
251
   SERIAL_PRINTLN(sgt, DEC);
251
   SERIAL_PRINTLN(sgt, DEC);
252
 }
252
 }
253
 
253
 

正在加载...
取消
保存