Skip to content

Commit ee98300

Browse files
authored
fix(flex-stacker): adjust motor hold current & motor enable/disable actually work (#456)
1 parent 2bcd6bb commit ee98300

File tree

10 files changed

+202
-150
lines changed

10 files changed

+202
-150
lines changed

stm32-modules/flex-stacker/firmware/host_comms_task/freertos_comms_task.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/*
22
* firmware-specific functions, data, and hooks for host comms control
33
*/
4-
#include "firmware/freertos_comms_task.hpp"
5-
64
#include <array>
75
#include <functional>
86
#include <utility>

stm32-modules/flex-stacker/firmware/motor_control/freertos_motor_task.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ static tasks::FirmwareTasks::MotorQueue
3131
"Motor Queue");
3232

3333
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
34-
static auto _top_task = motor_task::MotorTask(_queue, nullptr);
34+
static auto _top_task = motor_task::MotorTask(
35+
_queue, nullptr, x_motor_interrupt, z_motor_interrupt, l_motor_interrupt);
3536

3637
static auto callback_glue(MotorID motor_id) {
3738
switch (motor_id) {

0 commit comments

Comments
 (0)