summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_i2c.c
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2021-09-29 11:46:53 -0400
committerGitHub <noreply@github.com>2021-09-29 11:46:53 -0400
commit7eb23e4f88a6633dd749ac2dc189249dac53e927 (patch)
tree1eb4b48fdccea954eca2883874f4c848f52912ec /watch-library/watch/watch_i2c.c
parent751ed9c7a48b78063a0ef2e1d7e79ed03f70560b (diff)
parent116304162486afcdb2e9a63fb748800ed8639591 (diff)
downloadSensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.tar.gz
Sensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.tar.bz2
Sensor-Watch-7eb23e4f88a6633dd749ac2dc189249dac53e927.zip
Merge pull request #16 from joeycastillo/rtc-refactor
Refactor Real-Time Clock Functionality
Diffstat (limited to 'watch-library/watch/watch_i2c.c')
-rw-r--r--watch-library/watch/watch_i2c.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/watch-library/watch/watch_i2c.c b/watch-library/watch/watch_i2c.c
index 385d9d08..d2cf474b 100644
--- a/watch-library/watch/watch_i2c.c
+++ b/watch-library/watch/watch_i2c.c
@@ -22,7 +22,9 @@
* SOFTWARE.
*/
- struct io_descriptor *I2C_0_io;
+#include "watch_i2c.h"
+
+struct io_descriptor *I2C_0_io;
void watch_enable_i2c() {
I2C_0_init();