Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed compilation error on Cortex A platforms
Before, __get_PRIMASK/__set_PRIMASK were used directly to manipulate the state of interrupts. These are only available on Cortex M platforms. Adopted core_util_critical_section_enter/exit from mbed critical.h, which provides this behaviour in a cross-platform manner.
- Loading branch information