summaryrefslogtreecommitdiff
path: root/src/core/ao_panic.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-25 22:55:33 -0700
committerKeith Packard <keithp@keithp.com>2011-08-25 22:57:24 -0700
commit8125acc030574afed6f23aa8aa302d9c768bb04e (patch)
tree906aaf22c3674080df89c6e756a0195d2aab2bf9 /src/core/ao_panic.c
parente9fab7dc99a0e7c22b511c5919adf7df85213252 (diff)
altos: get avr-demo to build. Pull in AVR drivers and LCD driver
This completes the basic task of making an AVR version of altos by getting the Teensy 'avr-demo' program to build. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_panic.c')
-rw-r--r--src/core/ao_panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_panic.c b/src/core/ao_panic.c
index cbfdf399..0668dad2 100644
--- a/src/core/ao_panic.c
+++ b/src/core/ao_panic.c
@@ -53,7 +53,7 @@ ao_panic(uint8_t reason)
}
ao_beep(AO_BEEP_OFF);
ao_panic_delay(2);
-#pragma disable_warning 126
+
for (n = 0; n < reason; n++) {
ao_led_on(AO_LED_RED);
ao_beep(AO_BEEP_MID);