1
0
Fork 0

is31fl3731: driver naming cleanups (#21918)

This commit is contained in:
Ryan 2023-09-13 22:53:15 +10:00 committed by GitHub
parent 1cbb5ae99e
commit 8136eda6d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 189 additions and 159 deletions

View file

@ -20,9 +20,23 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "progmem.h"
// ======== DEPRECATED DEFINES - DO NOT USE ========
#ifdef LED_DRIVER_COUNT
# define IS31FL3731_DRIVER_COUNT LED_DRIVER_COUNT
#endif
#ifdef ISSI_TIMEOUT
# define IS31FL3731_I2C_TIMEOUT ISSI_TIMEOUT
#endif
#ifdef ISSI_PERSISTENCE
# define IS31FL3731_I2C_PERSISTENCE ISSI_PERSISTENCE
#endif
#ifdef ISSI_3731_DEGHOST
# define IS31FL3731_DEGHOST ISSI_3731_DEGHOST
#endif
// ========
typedef struct is31_led {
uint8_t driver : 2;
uint8_t v;