diff options
author | AlejandroColomar <colomar.6.4.3@gmail.com> | 2019-01-14 13:28:45 +0100 |
---|---|---|
committer | AlejandroColomar <colomar.6.4.3@gmail.com> | 2019-01-14 13:28:45 +0100 |
commit | 6c87c019ae75f6f42ee876fb273777b0f6ea1679 (patch) | |
tree | ee75dcb61d03c169a117ec209bbd52b274d93ec6 | |
parent | dde00dd6b9fccb51a2fe81d34987fb89de3eda17 (diff) |
Update modules
-rwxr-xr-x | src/actuators.c | 8 | ||||
-rwxr-xr-x | src/ctrl.c | 8 | ||||
m--------- | stm32l4-modules | 0 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/actuators.c b/src/actuators.c index 92d8ea3..cf25745 100755 --- a/src/actuators.c +++ b/src/actuators.c @@ -175,7 +175,7 @@ static int modules_init (void) } if (ACT_TASK_MODE_IT) { - if (tim_tim3_init(ACT_REFRESH_PERIOD_US)) { + if (tim_timx_init(ACT_REFRESH_PERIOD_US)) { goto err_tim; } } @@ -207,7 +207,7 @@ static int modules_deinit (void) if (can_deinit()) { status = ERROR_NOK; } - if (tim_tim3_deinit()) { + if (tim_timx_deinit()) { status = ERROR_NOK; } if (delay_us_deinit()) { @@ -225,14 +225,14 @@ static int proc_actuators_it (void) __WFE(); // __WFI(); - if (tim_tim3_interrupt) { + if (tim_timx_interrupt) { if (!proc_ref_read(NULL)) { if (proc_actuators_set(NULL)) { return ERROR_NOK; } } - tim_tim3_interrupt = false; + tim_timx_interrupt = false; } } } @@ -182,7 +182,7 @@ static int modules_init (void) } if (CTRL_TASK_MODE_IT) { - if (tim_tim3_init(CTRL_REFRESH_PERIOD_US)) { + if (tim_timx_init(CTRL_REFRESH_PERIOD_US)) { goto err_tim; } } @@ -214,7 +214,7 @@ static int modules_deinit (void) if (can_deinit()) { status = ERROR_NOK; } - if (tim_tim3_deinit()) { + if (tim_timx_deinit()) { status = ERROR_NOK; } if (delay_us_deinit()) { @@ -233,7 +233,7 @@ static int proc_ctrl_it (void) __WFE(); // __WFI(); - if (tim_tim3_interrupt) { + if (tim_timx_interrupt) { if (proc_ctrl_read(NULL)) { return ERROR_NOK; } @@ -241,7 +241,7 @@ static int proc_ctrl_it (void) return ERROR_NOK; } - tim_tim3_interrupt = false; + tim_timx_interrupt = false; } } } diff --git a/stm32l4-modules b/stm32l4-modules -Subproject 52b549952837c3f36b5451a68351a993f75f712 +Subproject ede7451b076fab4719cbe733893613347cdd28b |