diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-15 14:34:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-15 14:34:47 +0200 |
commit | 2e2096147e79e7fa4624f750a0c0bb9b8adcadab (patch) | |
tree | 271c7796ed42f924e8d03d27d5bb23ec999ff0bf /src/arch/msp430fr5969lp/driver | |
parent | ea0c6d43bc3987b7e58d5b61b957bc7a58bc3bc7 (diff) |
set default for F_I2C
Diffstat (limited to 'src/arch/msp430fr5969lp/driver')
-rw-r--r-- | src/arch/msp430fr5969lp/driver/i2c.cc | 4 |
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() |