From 98a06a9452c2a48076487e3b84e877cde83e89b8 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 23 Feb 2025 09:24:31 -0700 Subject: libhw/generic/io.h: Add reader/writer interfaces to enforce iovecs everywhere --- libhw/rp2040_hwspi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhw/rp2040_hwspi.c') diff --git a/libhw/rp2040_hwspi.c b/libhw/rp2040_hwspi.c index c60d6b9..8c87666 100644 --- a/libhw/rp2040_hwspi.c +++ b/libhw/rp2040_hwspi.c @@ -12,6 +12,7 @@ #define IMPLEMENTATION_FOR_LIBHW_RP2040_HWSPI_H YES #include +LO_IMPLEMENTATION_C(io_duplex_readwriter, struct rp2040_hwspi, rp2040_hwspi, static) LO_IMPLEMENTATION_C(spi, struct rp2040_hwspi, rp2040_hwspi, static) void _rp2040_hwspi_init(struct rp2040_hwspi *self, -- cgit v1.2.3-2-g168b