diff options
Diffstat (limited to 'src/arch')
-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() |