From 9dde49dd236d234a4e8cb538636b1aa4d1516623 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Wed, 12 Jul 2023 18:12:43 +0200 Subject: [PATCH] drivers/lcd: remove const for dev due to the mutex --- drivers/lcd/lcd_disp_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lcd/lcd_disp_dev.c b/drivers/lcd/lcd_disp_dev.c index 05309981c4..fc2a92d646 100644 --- a/drivers/lcd/lcd_disp_dev.c +++ b/drivers/lcd/lcd_disp_dev.c @@ -57,7 +57,7 @@ static uint8_t _lcd_color_depth(const disp_dev_t *disp_dev) static void _lcd_set_invert(const disp_dev_t *disp_dev, bool invert) { - const lcd_t *dev = (lcd_t *)disp_dev; + lcd_t *dev = (lcd_t *)disp_dev; assert(dev);