From 3da62fb000251a670e23a6454294d28c7a31a4d8 Mon Sep 17 00:00:00 2001 From: Premik Date: Sun, 30 Apr 2017 19:44:52 +0200 Subject: [PATCH] avcc->aref --- simavr/cores/sim_tinyx4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/cores/sim_tinyx4.h b/simavr/cores/sim_tinyx4.h index 291cce1..3ee8929 100644 --- a/simavr/cores/sim_tinyx4.h +++ b/simavr/cores/sim_tinyx4.h @@ -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, }, -- 2.39.5