mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:28:53 +08:00
kinetis io timer:fix sign-compare
This commit is contained in:
committed by
Daniel Agar
parent
c44cfbf87e
commit
7c5f3ea623
@@ -792,7 +792,7 @@ int io_timer_set_enable(bool state, io_timer_channel_mode_t mode, io_timer_chann
|
||||
uint32_t any_on = 0;
|
||||
|
||||
if (action_cache[actions].base != 0) {
|
||||
for (int index = 0; index < action_cache[actions].index; index++) {
|
||||
for (unsigned int index = 0; index < action_cache[actions].index; index++) {
|
||||
|
||||
if (action_cache[actions].cnsc[index].gpio) {
|
||||
px4_arch_configgpio(action_cache[actions].cnsc[index].gpio);
|
||||
|
||||
Reference in New Issue
Block a user