X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao_test.c;h=14c2eb75c41e2656996673a0cb29d4d4d4973c0f;hp=b9f7d33840dfe53ee724674df05485f457cda1c6;hb=480b48837db31987b947e4d32248965d4a16be03;hpb=e59520e343c2573b1b92c0b3c4aaa93e51bc55d3 diff --git a/src/ao_test.c b/src/ao_test.c index b9f7d338..14c2eb75 100644 --- a/src/ao_test.c +++ b/src/ao_test.c @@ -53,7 +53,7 @@ blink_1(void) static __xdata struct ao_adc adc; for (;;) { - ao_sleep(&ao_adc_ring); + ao_sleep(&ao_adc_head); ao_adc_get(&adc); if (adc.accel < 15900) ao_led_on(AO_LED_RED);