Commit mthomas changes to GCC and port those changes to IAR
[avr_bc100.git] / BaseTinyFirmware / GCC / ADC.c
index 50814ca6413782eef7d73523cbbf2e590c972910..3ed65b8b43c633d55f1bd4b8edf054bb9ba08569 100644 (file)
@@ -159,6 +159,7 @@ ISR(ADC_vect)
 \r
                        // Scale voltage according to jumper setting.\r
                        ADCS.VBAT = ScaleU(eeprom_read_byte(&VBAT_RANGE), (unsigned int)ADC); // ADC is a short.\r
+                        __asm__ __volatile__ ("NOP"::);\r
                        Next=0x17;\r
 //                     Signed = TRUE;  // Next conversion is bipolar. Halves sensitivity!\r
                break;\r