summaryrefslogtreecommitdiff
path: root/extmod/machine_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/machine_spi.c')
-rw-r--r--extmod/machine_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/machine_spi.c b/extmod/machine_spi.c
index 8c4d91a3c..e35e8b7fc 100644
--- a/extmod/machine_spi.c
+++ b/extmod/machine_spi.c
@@ -31,7 +31,7 @@
#if MICROPY_PY_MACHINE_SPI || MICROPY_PY_MACHINE_SOFTSPI
-#include "extmod/machine_spi.h"
+#include "extmod/modmachine.h"
// if a port didn't define MSB/LSB constants then provide them
#ifndef MICROPY_PY_MACHINE_SPI_MSB