fix engine def (l/r missmatch)

This commit is contained in:
tkl 2016-08-22 21:56:12 +02:00
parent e310d27ff2
commit cb158d213c

View File

@ -14,23 +14,23 @@ struct engine_ctrl {
};
static struct engine_ctrl right_forward = {
.pwm = &pwm_2,
.enable = &gpio_c0,
};
static struct engine_ctrl right_backward = {
.pwm = &pwm_1,
.enable = &gpio_c1,
};
static struct engine_ctrl left_forward = {
.pwm = &pwm_4,
.enable = &gpio_c2,
};
static struct engine_ctrl left_backward = {
static struct engine_ctrl right_backward = {
.pwm = &pwm_3,
.enable = &gpio_c3,
};
static struct engine_ctrl left_forward = {
.pwm = &pwm_2,
.enable = &gpio_c0,
};
static struct engine_ctrl left_backward = {
.pwm = &pwm_1,
.enable = &gpio_c1,
};
#endif /* SOURCE_APPLICATION_INCLUDE_ENGINES_H_ */