aboutsummaryrefslogtreecommitdiff
path: root/hal_io_i2c.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-04 22:31:47 -0400
committerRob Austein <sra@hactrn.net>2015-10-04 22:31:47 -0400
commitb3bbd3dbccef8c499e980490203cd5085dd13a98 (patch)
tree68091332d4e2429fcc9a8533bf2e26b2d49ab791 /hal_io_i2c.c
parente164eecc55dd96efc98d2c723e96aaaecdcfda13 (diff)
Whack libhal API to use current configure_core_selector mechanism.
Compiles, not yet tested.
Diffstat (limited to 'hal_io_i2c.c')
-rw-r--r--hal_io_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal_io_i2c.c b/hal_io_i2c.c
index 1dbd041..3e8ac59 100644
--- a/hal_io_i2c.c
+++ b/hal_io_i2c.c
@@ -41,6 +41,7 @@
#include <stdint.h>
#include "hal.h"
+#include "verilog_constants.h"
#define I2C_dev "/dev/i2c-2"
#define I2C_addr 0x0f