заменила часть функций на макросы из wiring_LL.h

This commit is contained in:
klassents committed 2024-10-10 19:14:24 +07:00
1 parent d1a5896d2d
commit d7010fba6e
5 files changed
+53 -22

No files matched your search

+2 -2
View File
@@ -19,13 +19,13 @@ static void nothing(void)
// enable global interrupts
void interrupts(void)
{
HAL_IRQ_EnableInterrupts();
GLOBAL_IRQ_ENABLE();
}
// disable global interrupts
void noInterrupts(void)
{
HAL_IRQ_DisableInterrupts();
GLOBAL_IRQ_DISABLE();
}
// we can provide no more than 8 interrupts on gpio at the same time