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 8097a97 commit 0f133f3Copy full SHA for 0f133f3
lib/pbio/drv/ev3dev_stretch/motor.c
@@ -98,7 +98,7 @@ static pbio_error_t ev3dev_motor_init(motor_t *mtr, pbio_port_t port) {
98
return err;
99
}
100
// Open duty
101
- err = sysfs_open_dc_motor_attr(&mtr->f_command, mtr->n_motor, "duty_cycle_sp", "w");
+ err = sysfs_open_dc_motor_attr(&mtr->f_duty, mtr->n_motor, "duty_cycle_sp", "w");
102
if (err != PBIO_SUCCESS) {
103
104
0 commit comments