🐛 Fix some Simulator on Windows issues (#22516)
This commit is contained in:
committed by
Scott Lahteine
parent
dc67705049
commit
e3c294dc9b
@ -208,7 +208,7 @@
|
||||
#if ENABLED(STOP_ON_ERROR)
|
||||
void report_driver_error(const TMC_driver_data &data) {
|
||||
SERIAL_ECHOPGM(" driver error detected: 0x");
|
||||
SERIAL_PRINTLN(data.drv_status, HEX);
|
||||
SERIAL_PRINTLN(data.drv_status, PrintBase::Hex);
|
||||
if (data.is_ot) SERIAL_ECHOLNPGM("overtemperature");
|
||||
if (data.is_s2g) SERIAL_ECHOLNPGM("coil short circuit");
|
||||
TERN_(TMC_DEBUG, tmc_report_all());
|
||||
|
@ -330,7 +330,7 @@ void tmc_print_current(TMC &st) {
|
||||
void tmc_print_sgt(TMC &st) {
|
||||
st.printLabel();
|
||||
SERIAL_ECHOPGM(" homing sensitivity: ");
|
||||
SERIAL_PRINTLN(st.homing_threshold(), DEC);
|
||||
SERIAL_PRINTLN(st.homing_threshold(), PrintBase::Dec);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user