summaryrefslogtreecommitdiff
path: root/libhw/rp2040_hwspi.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-29 01:02:02 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-29 01:40:02 -0600
commit7ff738390e55d57a0f513c467a9da3b08c6902ab (patch)
tree384bd03462a9790c9c747b895cf5de0677659db7 /libhw/rp2040_hwspi.c
parentaffe77a2b068a9de236f0d7703092dbfafacff5e (diff)
Add a way to make private object members
Diffstat (limited to 'libhw/rp2040_hwspi.c')
-rw-r--r--libhw/rp2040_hwspi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhw/rp2040_hwspi.c b/libhw/rp2040_hwspi.c
index 96c3d14..b4adeb7 100644
--- a/libhw/rp2040_hwspi.c
+++ b/libhw/rp2040_hwspi.c
@@ -12,6 +12,7 @@
#include <libmisc/vcall.h>
+#define IMPLEMENTATION_FOR_LIBHW_RP2040_HWSPI_H YES
#include <libhw/rp2040_hwspi.h>
static void rp2040_hwspi_readwritev(implements_spi *, const struct bidi_iovec *iov, int iovcnt);