summaryrefslogtreecommitdiffstats
path: root/watch-library
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-01-26 21:04:56 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-01-26 21:04:56 -0500
commit1b1bba2de0f23cec2de21100b495d56c1056af72 (patch)
treeefcbf975c0553540cee0b92a6ee94814b0f3661e /watch-library
parentfe5a3eecff0ca2fcaf5ac5eb00a8aa50b5064ece (diff)
downloadSensor-Watch-1b1bba2de0f23cec2de21100b495d56c1056af72.tar.gz
Sensor-Watch-1b1bba2de0f23cec2de21100b495d56c1056af72.tar.bz2
Sensor-Watch-1b1bba2de0f23cec2de21100b495d56c1056af72.zip
silence compiler warning
Diffstat (limited to 'watch-library')
-rw-r--r--watch-library/hardware/watch/watch_adc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/watch-library/hardware/watch/watch_adc.c b/watch-library/hardware/watch/watch_adc.c
index 32f06680..c8c4d65a 100644
--- a/watch-library/hardware/watch/watch_adc.c
+++ b/watch-library/hardware/watch/watch_adc.c
@@ -154,6 +154,8 @@ static inline uint32_t _watch_adc_get_reference_voltage(const watch_adc_referenc
return ADC_REFCTRL_REFSEL_INTVCC2_Val;
break;
}
+
+ return 0;
}
void watch_set_analog_reference_voltage(watch_adc_reference_voltage reference) {