X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=BaseTinyFirmware%2FGCC%2FADC.c;h=3ed65b8b43c633d55f1bd4b8edf054bb9ba08569;hb=65612c4c7df34cdae10f9427ace6fd9e9e430d05;hp=50814ca6413782eef7d73523cbbf2e590c972910;hpb=edd0e551e6041f7596c880cdaef13dfa67eff6b5;p=avr_bc100.git diff --git a/BaseTinyFirmware/GCC/ADC.c b/BaseTinyFirmware/GCC/ADC.c index 50814ca..3ed65b8 100644 --- a/BaseTinyFirmware/GCC/ADC.c +++ b/BaseTinyFirmware/GCC/ADC.c @@ -159,6 +159,7 @@ ISR(ADC_vect) // Scale voltage according to jumper setting. ADCS.VBAT = ScaleU(eeprom_read_byte(&VBAT_RANGE), (unsigned int)ADC); // ADC is a short. + __asm__ __volatile__ ("NOP"::); Next=0x17; // Signed = TRUE; // Next conversion is bipolar. Halves sensitivity! break;