diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-05 23:49:26 -0600 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 12:00:26 -0500 |
commit | 762af872d2f2c977e51d6e51b8c3ad622485cc05 (patch) | |
tree | 0fd44fe4996b04a82c5c0cc46178b5893d3ae1c0 /watch-library/watch/watch_i2c.h | |
parent | 316e1f292c603885f2af3dcd69ce797d64776425 (diff) | |
download | Sensor-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.h | 4 |
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. |