1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

drivers/include/hd44780: avoid use of magic numbers

This commit is contained in:
Alexandre Abadie 2019-11-06 16:25:27 +01:00
parent c7fac09d42
commit 6c56972dba
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -63,7 +63,7 @@ typedef struct {
gpio_t rs; /**< rs gpio pin */
gpio_t rw; /**< rw gpio pin */
gpio_t enable; /**< enable gpio pin */
gpio_t data[8]; /**< data gpio pins */
gpio_t data[HD44780_MAX_PINS]; /**< data gpio pins */
} hd44780_params_t;
/**