+#endif /* telemini || telenano */
+
+#if defined(TELEFIRE_V_0_1) || defined(TELEFIRE_V_0_2)
+ a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].adc.sense[0] + sequence - AO_ADC_FIRST_PIN);
+ a[0] = ADCL;
+ a[1] = ADCH;
+ if (sequence < 5) {
+ ADCCON3 = ADCCON3_EREF_VDD | ADCCON3_EDIV_512 | (sequence + 1);
+ return;
+ }
+#define GOT_ADC
+#endif /* TELEFIRE_V_0_1 */
+
+#ifdef TELEBT_V_1_0
+ a = (uint8_t __xdata *) (&ao_data_ring[ao_data_head].adc.batt);
+ a[0] = ADCL;
+ a[1] = ADCH;
+#define GOT_ADC
+#endif
+
+#ifdef FETCH_ADC
+ FETCH_ADC();
+#define GOT_ADC