altos: Make telemini-v1.0 compile with new ao_data structure
[fw/altos] / src / cc1111 / ao_adc.c
index 1e3d8cabc7b94359645ad1594221f5c7923cc27e..f34bc04227e35996d4d48c1970d18d2cad9c9cb1 100644 (file)
@@ -83,7 +83,7 @@ ao_adc_isr(void) __interrupt 1
 
 #if IGNITE_ON_P0
        /* TeleMini readings */
-       a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].pres);
+       a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].adc.pres);
 #ifdef TELEMINI_V_1_0
        switch (sequence) {
        case 0: