summaryrefslogtreecommitdiff
path: root/src/stm/ao_lcd_stm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/ao_lcd_stm.c')
-rw-r--r--src/stm/ao_lcd_stm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stm/ao_lcd_stm.c b/src/stm/ao_lcd_stm.c
index 47ea374e..95af53d1 100644
--- a/src/stm/ao_lcd_stm.c
+++ b/src/stm/ao_lcd_stm.c
@@ -346,8 +346,7 @@ static const struct ao_cmds ao_lcd_stm_cmds[] = {
void
ao_lcd_stm_init(void)
{
- int s, c;
- int r;
+ unsigned int s, c;
uint32_t csr;
stm_rcc.ahbenr |= ((AO_LCD_STM_USES_GPIOA << STM_RCC_AHBENR_GPIOAEN) |