direction mismatch resolved
This commit is contained in:
parent
7f66c9b679
commit
02a8334ebb
@ -14,26 +14,23 @@ struct engine_ctrl {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct engine_ctrl right_forward = {
|
static struct engine_ctrl right_forward = {
|
||||||
.pwm = &pwm_1,
|
|
||||||
.enable = &gpio_c1,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct engine_ctrl right_backward = {
|
|
||||||
.pwm = &pwm_2,
|
.pwm = &pwm_2,
|
||||||
.enable = &gpio_c0,
|
.enable = &gpio_c0,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct engine_ctrl left_forward = {
|
static struct engine_ctrl right_backward = {
|
||||||
.pwm = &pwm_3,
|
.pwm = &pwm_1,
|
||||||
.enable = &gpio_c3,
|
.enable = &gpio_c1,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct engine_ctrl left_backward = {
|
static struct engine_ctrl left_forward = {
|
||||||
.pwm = &pwm_4,
|
.pwm = &pwm_4,
|
||||||
.enable = &gpio_c2,
|
.enable = &gpio_c2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct engine_ctrl left_backward = {
|
||||||
|
.pwm = &pwm_3,
|
||||||
|
.enable = &gpio_c3,
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* SOURCE_APPLICATION_INCLUDE_ENGINES_H_ */
|
#endif /* SOURCE_APPLICATION_INCLUDE_ENGINES_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user