summaryrefslogtreecommitdiff
path: root/src/driver/mmsimple.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/mmsimple.cc')
-rw-r--r--src/driver/mmsimple.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/mmsimple.cc b/src/driver/mmsimple.cc
index d47d10d..b2b2708 100644
--- a/src/driver/mmsimple.cc
+++ b/src/driver/mmsimple.cc
@@ -1,5 +1,9 @@
#include "driver/mmsimple.h"
+#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
+#else
+#include "driver/soft_i2c.h"
+#endif
void MicroMoodySimple::sendCmd(unsigned char byte)
{