summaryrefslogtreecommitdiff
path: root/src/telelco-v0.2/ao_lco.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/telelco-v0.2/ao_lco.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/telelco-v0.2/ao_lco.c')
-rw-r--r--src/telelco-v0.2/ao_lco.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/telelco-v0.2/ao_lco.c b/src/telelco-v0.2/ao_lco.c
index e8d16ca9..0bbb76f1 100644
--- a/src/telelco-v0.2/ao_lco.c
+++ b/src/telelco-v0.2/ao_lco.c
@@ -37,7 +37,6 @@ static uint8_t ao_lco_debug;
#define AO_LCO_BOX_DIGIT_10 2
static uint8_t ao_lco_min_box, ao_lco_max_box;
-static uint8_t ao_lco_mutex;
static uint8_t ao_lco_pad;
static uint8_t ao_lco_box;
static uint8_t ao_lco_armed;
@@ -281,12 +280,9 @@ static void
ao_lco_igniter_status(void)
{
uint8_t c;
- uint16_t delay;
for (;;) {
-// ao_alarm(delay);
ao_sleep(&ao_pad_query);
-// ao_clear_alarm();
if (!ao_lco_valid) {
ao_led_on(AO_LED_RED);
ao_led_off(AO_LED_GREEN|AO_LED_AMBER);