summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_i2c.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-05 23:49:26 -0600
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-10 12:00:26 -0500
commit762af872d2f2c977e51d6e51b8c3ad622485cc05 (patch)
tree0fd44fe4996b04a82c5c0cc46178b5893d3ae1c0 /watch-library/watch/watch_i2c.h
parent316e1f292c603885f2af3dcd69ce797d64776425 (diff)
downloadSensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.gz
Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.bz2
Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.zip
fix missing prototype warnings
Diffstat (limited to 'watch-library/watch/watch_i2c.h')
-rw-r--r--watch-library/watch/watch_i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/watch-library/watch/watch_i2c.h b/watch-library/watch/watch_i2c.h
index 65df49b4..fbcc1a92 100644
--- a/watch-library/watch/watch_i2c.h
+++ b/watch-library/watch/watch_i2c.h
@@ -35,11 +35,11 @@
/// @{
/** @brief Enables the I2C peripheral. Call this before attempting to interface with I2C devices.
*/
-void watch_enable_i2c();
+void watch_enable_i2c(void);
/** @brief Disables the I2C peripheral.
*/
-void watch_disable_i2c();
+void watch_disable_i2c(void);
/** @brief Sends a series of values to a device on the I2C bus.
* @param addr The address of the device you wish to talk to.