소스 검색

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

Loading…
취소
저장