summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/soft_i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver/soft_i2c.h b/include/driver/soft_i2c.h
index a5da1f6..15784d9 100644
--- a/include/driver/soft_i2c.h
+++ b/include/driver/soft_i2c.h
@@ -37,6 +37,8 @@ class SoftI2C {
#ifndef DRIVER_HARDWARE_I2C
extern SoftI2C i2c;
+#else
+extern SoftI2C softi2c;
#endif
#endif