]> git.earman.xyz Git - sensor-watch.git/commitdiff
silence compiler warning
authorJoey Castillo <joeycastillo@utexas.edu>
Thu, 27 Jan 2022 02:04:56 +0000 (21:04 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Thu, 27 Jan 2022 02:04:56 +0000 (21:04 -0500)
watch-library/hardware/watch/watch_adc.c

index 32f066805028596aefe6418a24e6d40081b31732..c8c4d65a68db07fdd2ce7b6ce123b58ba6833308 100644 (file)
@@ -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) {