We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ca4e1 commit 6256673Copy full SHA for 6256673
arch/arm/src/rp23xx/rp23xx_pio.c
@@ -46,8 +46,8 @@
46
#define hw_claim_lock() spin_lock_irqsave(&pio_lock)
47
#define hw_claim_unlock(save) spin_unlock_irqrestore(&pio_lock, save)
48
#else
49
-#define hw_claim_lock() spin_lock_irqsave(NULL)
50
-#define hw_claim_unlock(save) spin_unlock_irqrestore(NULL, save)
+#define hw_claim_lock() up_irq_save()
+#define hw_claim_unlock(save) up_irq_restore(save)
51
#endif
52
53
/****************************************************************************
0 commit comments