From 248e0fdc916ce0bffe8b30912df1b991a7301d95 Mon Sep 17 00:00:00 2001 From: Inamr Date: Tue, 30 Apr 2024 14:36:54 +0200 Subject: [PATCH] typo --- prosjekt.X/voltage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;