mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 00:09:46 +01:00
drivers/st77xx: fix compilation with NDEBUG
This commit is contained in:
parent
021720a995
commit
4ae2e65108
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user