From 762af872d2f2c977e51d6e51b8c3ad622485cc05 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 5 Dec 2021 23:49:26 -0600 Subject: fix missing prototype warnings --- movement/watch_faces/thermistor/thermistor_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'movement/watch_faces/thermistor/thermistor_driver.c') diff --git a/movement/watch_faces/thermistor/thermistor_driver.c b/movement/watch_faces/thermistor/thermistor_driver.c index 37b5ba3f..5659c281 100644 --- a/movement/watch_faces/thermistor/thermistor_driver.c +++ b/movement/watch_faces/thermistor/thermistor_driver.c @@ -2,7 +2,7 @@ #include "watch.h" #include "watch_utility.h" -void thermistor_driver_enable() { +void thermistor_driver_enable(void) { // Enable the ADC peripheral, which we'll use to read the thermistor value. watch_enable_adc(); // Enable analog circuitry on the sense pin, which is tied to the thermistor resistor divider. @@ -13,7 +13,7 @@ void thermistor_driver_enable() { watch_set_pin_level(THERMISTOR_ENABLE_PIN, !THERMISTOR_ENABLE_VALUE); } -void thermistor_driver_disable() { +void thermistor_driver_disable(void) { // Disable the ADC peripheral. watch_disable_adc(); // Disable analog circuitry on the sense pin to save power. @@ -22,7 +22,7 @@ void thermistor_driver_disable() { watch_disable_digital_output(THERMISTOR_ENABLE_PIN); } -float thermistor_driver_get_temperature() { +float thermistor_driver_get_temperature(void) { // set the enable pin to the level that powers the thermistor circuit. watch_set_pin_level(THERMISTOR_ENABLE_PIN, THERMISTOR_ENABLE_VALUE); // get the sense pin level -- cgit v1.2.3