We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc341bf commit 198232fCopy full SHA for 198232f
drivers/led/apa102.c
@@ -24,7 +24,7 @@
24
# elif defined(PROTOCOL_CHIBIOS)
25
# include "hal.h"
26
# include "chibios_config.h"
27
-# if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(GD32VF103)
+# if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(GD32VF103) || defined(MCU_RP)
28
# define APA102_NOPS (100 / (1000000000L / (CPU_CLOCK / 4))) // This calculates how many loops of 4 nops to run to delay 100 ns
29
# else
30
# error APA102_NOPS configuration required
0 commit comments