From d56ee70c524b4fc4d1638e5e8c4bdeb89e752993 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 21 Oct 2023 21:41:59 +1000 Subject: Rename `DRIVER_ADDR_n` defines (#22200) Co-authored-by: Nick Brassel --- drivers/led/aw20216s.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/led/aw20216s.h') diff --git a/drivers/led/aw20216s.h b/drivers/led/aw20216s.h index e8f1e0344f..f8c0efcc6f 100644 --- a/drivers/led/aw20216s.h +++ b/drivers/led/aw20216s.h @@ -38,16 +38,16 @@ # define AW20216S_SPI_DIVISOR AW_SPI_DIVISOR #endif #ifdef DRIVER_1_CS -# define AW20216S_DRIVER_1_CS DRIVER_1_CS +# define AW20216S_CS_PIN_1 DRIVER_1_CS #endif #ifdef DRIVER_2_CS -# define AW20216S_DRIVER_2_CS DRIVER_2_CS +# define AW20216S_CS_PIN_2 DRIVER_2_CS #endif #ifdef DRIVER_1_EN -# define AW20216S_DRIVER_1_EN DRIVER_1_EN +# define AW20216S_EN_PIN_1 DRIVER_1_EN #endif #ifdef DRIVER_2_EN -# define AW20216S_DRIVER_2_EN DRIVER_2_EN +# define AW20216S_EN_PIN_2 DRIVER_2_EN #endif #define aw_led aw20216s_led_t -- cgit v1.2.3