summaryrefslogtreecommitdiff
path: root/libhw_cr/rp2040_hwspi.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-07 20:29:35 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-07 20:29:35 -0600
commitd053a0f6dffc575611324b81acaef0d1554bda6c (patch)
tree3eb702a06625ef1f6be0648f7fec311b628808e9 /libhw_cr/rp2040_hwspi.c
parent33b7cf675238367db2fc0528dea103d7792eaa0e (diff)
parent062e063f76c5937be4dc8465f6471ff9b5eb7be9 (diff)
Merge branch 'lukeshu/ipc'
Diffstat (limited to 'libhw_cr/rp2040_hwspi.c')
-rw-r--r--libhw_cr/rp2040_hwspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhw_cr/rp2040_hwspi.c b/libhw_cr/rp2040_hwspi.c
index 646d8ba..d181650 100644
--- a/libhw_cr/rp2040_hwspi.c
+++ b/libhw_cr/rp2040_hwspi.c
@@ -130,7 +130,7 @@ void _rp2040_hwspi_init(struct rp2040_hwspi *self,
self->dma_tx_data = dma3;
self->dma_rx_data = dma4;
self->dead_until_ns = 0;
- self->sema = (cr_sema_t){0};
+ self->sema = (cr_sema_t){};
/* Initialize the interrupt handler. */
/* We do this on (just) the rx channel, because the way the