заменила часть функций на макросы из wiring_LL.h
This commit is contained in:
1 parent
d1a5896d2d
commit
d7010fba6e
5 files changed
+53
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user