Closed nielsheirman closed 2 years ago
The atomic section in gpio_int_callback in some cases prevents gpio interrupts from scheduling timer tasks. The atomic section prevents the timer interrupt from firing which may cause an infinite loop on: https://github.com/Sub-IoT/Sub-IoT-Stack/blob/9b8ce55882a8d1df857edd4190c150d599b511e6/stack/framework/hal/chips/stm32_common/stm32_common_timer.c#L186
The atomic section in gpio_int_callback in some cases prevents gpio interrupts from scheduling timer tasks. The atomic section prevents the timer interrupt from firing which may cause an infinite loop on: https://github.com/Sub-IoT/Sub-IoT-Stack/blob/9b8ce55882a8d1df857edd4190c150d599b511e6/stack/framework/hal/chips/stm32_common/stm32_common_timer.c#L186