summaryrefslogtreecommitdiff
path: root/drivers/led/aw20216s.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-21 21:41:59 +1000
committerGitHub <noreply@github.com>2023-10-21 21:41:59 +1000
commitd56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (patch)
tree68f890de77cbf2750462def33a3ac5d3de11a8c2 /drivers/led/aw20216s.h
parent3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff)
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'drivers/led/aw20216s.h')
-rw-r--r--drivers/led/aw20216s.h8
1 files changed, 4 insertions, 4 deletions
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