summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-15 14:34:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-15 14:34:47 +0200
commit2e2096147e79e7fa4624f750a0c0bb9b8adcadab (patch)
tree271c7796ed42f924e8d03d27d5bb23ec999ff0bf /src/arch
parentea0c6d43bc3987b7e58d5b61b957bc7a58bc3bc7 (diff)
set default for F_I2C
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/msp430fr5969lp/driver/i2c.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/msp430fr5969lp/driver/i2c.cc b/src/arch/msp430fr5969lp/driver/i2c.cc
index be41a50..0e0c376 100644
--- a/src/arch/msp430fr5969lp/driver/i2c.cc
+++ b/src/arch/msp430fr5969lp/driver/i2c.cc
@@ -2,6 +2,10 @@
#include "arch.h"
#include <msp430.h>
+#ifndef F_I2C
+#define F_I2C 100000
+#endif
+
volatile unsigned short old_ifg = 0;
signed char I2C::setup()