Commit 3da62fb000251a670e23a6454294d28c7a31a4d8
authorPremik <premysl.srubar@post.cz>
Sun, 30 Apr 2017 17:44:52 +0000 (19:44 +0200)
committerPremik <premysl.srubar@post.cz>
Sun, 30 Apr 2017 17:44:52 +0000 (19:44 +0200)
simavr/cores/sim_tinyx4.h

index 291cce10946f4e11d584bd1acafb01f7ca7cd924..3ee8929f195d4fa132c68cb4732d14e914735c69 100644 (file)
@@ -94,7 +94,7 @@ const struct mcu_t SIM_CORENAME = {
                     AVR_IO_REGBIT(ADMUX, MUX2), AVR_IO_REGBIT(ADMUX, MUX3),},
         .ref = { AVR_IO_REGBIT(ADMUX, REFS0), AVR_IO_REGBIT(ADMUX, REFS1), },
         .ref_values = {
-                [0] = ADC_VREF_VCC, [1] = ADC_VREF_AVCC,
+                [0] = ADC_VREF_VCC, [1] = ADC_VREF_AREF,
                 [2] = ADC_VREF_V110,
         },