diff --git a/drivers/include/hd44780.h b/drivers/include/hd44780.h index 1b1da81ebd..ef611b8499 100644 --- a/drivers/include/hd44780.h +++ b/drivers/include/hd44780.h @@ -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; /**