pull/212/head
Alex Voinea 2022-10-10 21:09:21 +02:00
parent b2f09ea414
commit 16653e719e
1 changed files with 4 additions and 0 deletions

View File

@ -21,5 +21,9 @@ void TMC2130::SetEnabled(const MotorParams &params, bool enabled) {
void TMC2130::Isr(const MotorParams &params) { void TMC2130::Isr(const MotorParams &params) {
} }
bool TMC2130::CheckForErrors(const MotorParams &params) {
return !errorFlags.Good();
}
} // namespace tmc2130 } // namespace tmc2130
} // namespace hal } // namespace hal