summaryrefslogtreecommitdiff
path: root/libhw_cr/rp2040_hwspi.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-07 00:09:00 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-07 01:55:23 -0600
commit4d5a8b2f99be5e04954c5067080d1725af8c0ae7 (patch)
tree2b1d87719555eeb2159e7e79dcac5605dbb45c74 /libhw_cr/rp2040_hwspi.c
parent599c887d12d406296f356a02b1088f04ffe1f26e (diff)
libcr_ipc: Pull as much as possible from public .h to .c files
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