We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae0b215 commit 0b18e56Copy full SHA for 0b18e56
stm32-modules/flex-stacker/firmware/motor_control/motor_policy.cpp
@@ -0,0 +1,19 @@
1
+#include "firmware/motor_policy.hpp"
2
+
3
+#include "firmware/motor_hardware.h"
4
5
+using namespace motor_policy;
6
7
8
+auto MotorPolicy::enable_motor(MotorID motor_id) -> void {
9
+ enable_motor(motor_id);
10
+}
11
12
+auto MotorPolicy::disable_motor(MotorID motor_id) -> void {
13
+ disable_motor(motor_id);
14
15
16
17
+auto MotorPolicy::step(MotorID motor_id) -> void {
18
+ step(motor_id);
19
0 commit comments