From 21ed9b4575fd5c19b4879b90d4a15863aa731ba9 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 25 Sep 2023 13:06:42 +1000 Subject: Simplify more feature driver defines (#22090) --- docs/ws2812_driver.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ws2812_driver.md') 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 -- cgit v1.2.3