diff options
| author | Keith Packard <keithp@keithp.com> | 2013-06-09 10:00:54 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-06-09 10:00:54 -0700 |
| commit | 187f661c2512e4260d0ca64134de8fad199f5944 (patch) | |
| tree | 9323a6d38d90bf58bf4013aaee6c57e170c798ce /src/cc1111/ao_adc.c | |
| parent | 8ba2035c78293bc312804722249df76dd4692d71 (diff) | |
altos: Add telefire v0.2 support
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_adc.c')
| -rw-r--r-- | src/cc1111/ao_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc1111/ao_adc.c b/src/cc1111/ao_adc.c index ed76179b..4a58023d 100644 --- a/src/cc1111/ao_adc.c +++ b/src/cc1111/ao_adc.c @@ -144,7 +144,7 @@ ao_adc_isr(void) __interrupt 1 } #endif /* telemini || telenano */ -#ifdef TELEFIRE_V_0_1 +#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; |
