diff --git a/prosjekt.X/voltage.c b/prosjekt.X/voltage.c index c62d872..eec2bd2 100644 --- a/prosjekt.X/voltage.c +++ b/prosjekt.X/voltage.c @@ -43,8 +43,6 @@ uint16_t thermistor_voltage_read() { uint16_t internal_voltage_read() { /* Gets value for the internal voltage reffreance*/ - - VREF.ADC0REF = VREF_REFSEL_VDD_gc; ADC0.MUXPOS = 0x44; uint8_t adc_val = ADC0_read();