1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/st77xx: fix compilation with NDEBUG

This commit is contained in:
Gunar Schorcht 2023-09-21 09:13:39 +02:00
parent 021720a995
commit 4ae2e65108
3 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);