summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-25 13:06:42 +1000
committerGitHub <noreply@github.com>2023-09-25 13:06:42 +1000
commit21ed9b4575fd5c19b4879b90d4a15863aa731ba9 (patch)
tree59856837b61a32639c6680aee522523dd6e12de1 /docs
parent61702b25648a4ffb8ae42b739f7134f4709e393a (diff)
Simplify more feature driver defines (#22090)
Diffstat (limited to 'docs')
-rw-r--r--docs/ws2812_driver.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ws2812_driver.md b/docs/ws2812_driver.md
index f8cad20ce0..6fa65b4288 100644
--- a/docs/ws2812_driver.md
+++ b/docs/ws2812_driver.md
@@ -85,7 +85,7 @@ WS2812_DRIVER = spi
Configure the hardware via your config.h:
```c
-#define WS2812_SPI SPID1 // default: SPID1
+#define WS2812_SPI_DRIVER SPID1 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
#define WS2812_SPI_SCK_PIN B3 // Required for F072, may be for others -- SCK pin, see the respective datasheet for the appropriate values for your MCU. default: unspecified
#define WS2812_SPI_SCK_PAL_MODE 5 // SCK pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5