engine definitions and directions corrected
This commit is contained in:
@@ -13,7 +13,7 @@ struct engine_ctrl {
|
||||
const struct driver *enable;
|
||||
};
|
||||
|
||||
static struct engine_ctrl right_forward = {
|
||||
static struct engine_ctrl left_forward = {
|
||||
.pwm = &pwm_4,
|
||||
.enable = &gpio_c2,
|
||||
};
|
||||
@@ -23,7 +23,7 @@ static struct engine_ctrl right_backward = {
|
||||
.enable = &gpio_c3,
|
||||
};
|
||||
|
||||
static struct engine_ctrl left_forward = {
|
||||
static struct engine_ctrl right_forward = {
|
||||
.pwm = &pwm_2,
|
||||
.enable = &gpio_c0,
|
||||
};
|
||||
|
Reference in New Issue
Block a user