diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:05 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:33 -0600 |
commit | b4a081932338f65aa87aeba5008463feb0a78519 (patch) | |
tree | ce628075a2ae59d5362d2662465c918f57e81607 /libhw_cr/rp2040_hwspi.c | |
parent | 42729f477684b12735b572a4975d32fb1002a530 (diff) |
More GCC 15 fixes
Diffstat (limited to 'libhw_cr/rp2040_hwspi.c')
-rw-r--r-- | libhw_cr/rp2040_hwspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhw_cr/rp2040_hwspi.c b/libhw_cr/rp2040_hwspi.c index ee03b03..3bf3f84 100644 --- a/libhw_cr/rp2040_hwspi.c +++ b/libhw_cr/rp2040_hwspi.c @@ -232,8 +232,8 @@ static void rp2040_hwspi_readwritev(struct rp2040_hwspi *self, const struct dupl }; j++; } - tx_data_blocks[pruned_iovcnt] = (typeof(tx_data_blocks[0])){0}; - rx_data_blocks[pruned_iovcnt] = (typeof(rx_data_blocks[0])){0}; + tx_data_blocks[pruned_iovcnt] = (typeof(tx_data_blocks[0])){}; + rx_data_blocks[pruned_iovcnt] = (typeof(rx_data_blocks[0])){}; /* If ctrl isn't the trigger then we need to make sure that * DMA_CTRL_IRQ_QUIET isn't cleared before the trigger * happens. */ |