Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
9317196ccThis file is pinned to the selected release. Download the original to open it in your design tool.
#include "system/GlobalInterrupts.hpp"
#include "freertos/critical.hpp"
namespace mcu
{
void GlobalInterrupts::enable()
{
freertos::CriticalSection::EnterFromISR();
}
void GlobalInterrupts::disable()
{
BaseType_t unused;
freertos::CriticalSection::ExitFromISR( unused );
}
} // namespace mcu