fix(eppp): Fix SIDO host to check/clear interrupts atomically

This commit is contained in:
David Cermak
2024-05-16 17:00:13 +02:00
parent 085dd79079
commit 402176c9e0
3 changed files with 22 additions and 17 deletions

View File

@ -8,6 +8,7 @@
#define MAX_SDIO_PAYLOAD 1500
#define SDIO_ALIGN(size) (((size) + 3U) & ~(3U))
#define SDIO_PAYLOAD SDIO_ALIGN(MAX_SDIO_PAYLOAD)
#define PPP_SOF 0x7E
// Interrupts and registers
#define SLAVE_INTR 0