diff options
author | Ryan <fauxpark@gmail.com> | 2023-10-21 21:41:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-21 21:41:59 +1000 |
commit | d56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (patch) | |
tree | 68f890de77cbf2750462def33a3ac5d3de11a8c2 /keyboards/mechlovin/adelais/rgb_led | |
parent | 3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff) |
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mechlovin/adelais/rgb_led')
-rw-r--r-- | keyboards/mechlovin/adelais/rgb_led/rev2/config.h | 4 | ||||
-rw-r--r-- | keyboards/mechlovin/adelais/rgb_led/rev3/config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h index 7e1bd43012..ec29cdc48e 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h @@ -1,8 +1,8 @@ #pragma once //rgb matrix setting -#define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND -#define DRIVER_ADDR_2 IS31FL3731_I2C_ADDRESS_SDA +#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND +#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA #define IS31FL3731_DRIVER_COUNT 2 #define DRIVER_1_LED_TOTAL 32 #define DRIVER_2_LED_TOTAL 36 diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h index 039f3ffe81..48f585e765 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef RGB_MATRIX_ENABLE //rgb matrix setting -#define DRIVER_ADDR_1 IS31FL3741_I2C_ADDRESS_SDA +#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_SDA #define IS31FL3741_DRIVER_COUNT 1 #define RGB_MATRIX_LED_COUNT 66 |