From cb158d213ccecb84c16e40a6f1a41f5f5929389f Mon Sep 17 00:00:00 2001 From: tkl Date: Mon, 22 Aug 2016 21:56:12 +0200 Subject: [PATCH] fix engine def (l/r missmatch) --- source/application/include/engines.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/source/application/include/engines.h b/source/application/include/engines.h index 8957632..b0db92c 100644 --- a/source/application/include/engines.h +++ b/source/application/include/engines.h @@ -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_ */