diff --git a/prosjekt.X/voltage.c b/prosjekt.X/voltage.c index b06fa06..641c46f 100644 --- a/prosjekt.X/voltage.c +++ b/prosjekt.X/voltage.c @@ -49,9 +49,9 @@ uint16_t external_voltage_read(){ } uint16_t internal_voltage_read() { - /* Gets value for the internal voltage reffreance*/ + /* Gets value for the internal voltage refreance*/ - ADC0.MUXPOS = 0x44; + ADC0.MUXPOS = 0x44; // Read VDDD10 uint8_t adc_val = ADC0_read(); return adc_val*10;