Force fix formatting
parent
6035825eed
commit
fdd265aa8a
|
|
@ -83,7 +83,7 @@ uint8_t Globals::StallGuardThreshold(config::Axis axis) const {
|
|||
return mps::AxisTMCSetup::get(axis, hal::progmem::read_byte(defaultAxisSGTHRs + axis));
|
||||
}
|
||||
|
||||
void Globals::SetStallGuardThreshold(config::Axis axis, uint8_t sgthrs){
|
||||
void Globals::SetStallGuardThreshold(config::Axis axis, uint8_t sgthrs) {
|
||||
mps::AxisTMCSetup::set(axis, sgthrs); // store the value in EEPROM
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ public:
|
|||
uint8_t StallGuardThreshold(config::Axis axis) const;
|
||||
/// Stores the new StallGuard threshold for an axis into EEPROM (does not affect the current state of TMC drivers at all)
|
||||
void SetStallGuardThreshold(config::Axis axis, uint8_t sgthrs);
|
||||
|
||||
private:
|
||||
/// Sets the active slot, usually after some command/operation.
|
||||
/// Also updates the EEPROM records accordingly
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ void TriggerStallGuard(Axis axis) {
|
|||
axes[axis].stallGuard = true;
|
||||
}
|
||||
|
||||
void Motion::PlanStallGuardThreshold(Axis axis, uint8_t sg_thrs){
|
||||
void Motion::PlanStallGuardThreshold(Axis axis, uint8_t sg_thrs) {
|
||||
// do nothing for now
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue