summaryrefslogtreecommitdiffstatshomepage
path: root/ports/stm32/machine_i2s.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/machine_i2s.c')
-rw-r--r--ports/stm32/machine_i2s.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/machine_i2s.c b/ports/stm32/machine_i2s.c
index a2a0a82910..d7d4dc14b9 100644
--- a/ports/stm32/machine_i2s.c
+++ b/ports/stm32/machine_i2s.c
@@ -33,7 +33,9 @@
#include "py/mphal.h"
#include "pin.h"
#include "dma.h"
+#ifndef NO_QSTR
#include "genhdr/plli2stable.h"
+#endif
// Notes on this port's specific implementation of I2S:
// - the DMA callbacks (1/2 complete and complete) are used to implement the asynchronous background operations