diff --git a/Marlin/src/feature/tmc_util.cpp b/Marlin/src/feature/tmc_util.cpp index 11bec933a5..21115c45f3 100644 --- a/Marlin/src/feature/tmc_util.cpp +++ b/Marlin/src/feature/tmc_util.cpp @@ -236,7 +236,7 @@ void _tmc_say_pwmthrs(const char name[], const uint32_t thrs) { SERIAL_ECHO(name); SERIAL_ECHOLNPAIR(" stealthChop max speed set to ", thrs); } -void _tmc_say_sgt(const char name[], const uint32_t sgt) { +void _tmc_say_sgt(const char name[], const int8_t sgt) { SERIAL_ECHO(name); SERIAL_ECHOPGM(" driver homing sensitivity set to "); SERIAL_PRINTLN(sgt, DEC); diff --git a/Marlin/src/feature/tmc_util.h b/Marlin/src/feature/tmc_util.h index 46d5b4f286..2265fb9d9a 100644 --- a/Marlin/src/feature/tmc_util.h +++ b/Marlin/src/feature/tmc_util.h @@ -43,7 +43,7 @@ void _tmc_say_current(const char name[], const uint16_t curr); void _tmc_say_otpw(const char name[], const bool otpw); void _tmc_say_otpw_cleared(const char name[]); void _tmc_say_pwmthrs(const char name[], const uint32_t thrs); -void _tmc_say_sgt(const char name[], const uint32_t sgt); +void _tmc_say_sgt(const char name[], const int8_t sgt); template void tmc_get_current(TMC &st, const char name[]) {