summaryrefslogtreecommitdiff
path: root/src/stm/ao_lcd_stm.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-20 22:43:18 -0800
committerKeith Packard <keithp@keithp.com>2013-12-20 22:44:04 -0800
commit5c9172ba5681ff93d63c9c263a453d0025170045 (patch)
tree4d4bb736b1bb76d321e5efaefe2b23f5d389a1ce /src/stm/ao_lcd_stm.c
parentdb8f3426ac1cf756a2e4974ca61a5ae9048c80ce (diff)
altos: Clean up -Wextra warnings
Unused variables, mismatching signed/unsigned and a few other misc warnings. Signed-off-by: Keith Packard <keithp@keithp.com>
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) |