mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
TMC SGT is int8 (#9650)
This commit is contained in:
parent
d7e2e655ca
commit
20f8c9b950
@ -233,7 +233,7 @@ void _tmc_say_pwmthrs(const char name[], const uint32_t thrs) {
|
|||||||
SERIAL_ECHO(name);
|
SERIAL_ECHO(name);
|
||||||
SERIAL_ECHOLNPAIR(" stealthChop max speed set to ", thrs);
|
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_ECHO(name);
|
||||||
SERIAL_ECHOPGM(" driver homing sensitivity set to ");
|
SERIAL_ECHOPGM(" driver homing sensitivity set to ");
|
||||||
SERIAL_PRINTLN(sgt, DEC);
|
SERIAL_PRINTLN(sgt, DEC);
|
||||||
|
@ -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(const char name[], const bool otpw);
|
||||||
void _tmc_say_otpw_cleared(const char name[]);
|
void _tmc_say_otpw_cleared(const char name[]);
|
||||||
void _tmc_say_pwmthrs(const char name[], const uint32_t thrs);
|
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<typename TMC>
|
template<typename TMC>
|
||||||
void tmc_get_current(TMC &st, const char name[]) {
|
void tmc_get_current(TMC &st, const char name[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user