diff --git a/drivers/st77xx/st7735_init.c b/drivers/st77xx/st7735_init.c index 273e3fe9b0..7cea363ab5 100644 --- a/drivers/st77xx/st7735_init.c +++ b/drivers/st77xx/st7735_init.c @@ -142,6 +142,7 @@ static inline uint8_t _st7735_calc_vghl(uint16_t vgh, int16_t vgl, uint16_t avdd int st7735_init(lcd_t *dev, const lcd_params_t *params) { + (void)params; assert(params->lines <= 162); assert(params->rgb_channels <= 132); diff --git a/drivers/st77xx/st7789_init.c b/drivers/st77xx/st7789_init.c index b1ab9da9c0..ec15de5f61 100644 --- a/drivers/st77xx/st7789_init.c +++ b/drivers/st77xx/st7789_init.c @@ -124,6 +124,7 @@ static inline uint8_t _st7789_calc_vrh(int16_t vrh) int st7789_init(lcd_t *dev, const lcd_params_t *params) { + (void)params; assert(params->lines <= 320); assert(params->rgb_channels <= 240); diff --git a/drivers/st77xx/st7796_init.c b/drivers/st77xx/st7796_init.c index 8385d04b90..29f7207765 100644 --- a/drivers/st77xx/st7796_init.c +++ b/drivers/st77xx/st7796_init.c @@ -124,6 +124,7 @@ static inline uint8_t _st7796_calc_vrh(int16_t vrh) int st7796_init(lcd_t *dev, const lcd_params_t *params) { + (void)params; assert(params->lines <= 480); assert(params->rgb_channels <= 320);