Skip to content

Commit

Permalink
moved I2C init outside of library
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Zoellner committed Apr 2, 2013
1 parent 6526654 commit 92921ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion MSP430/I2Cdev/ArduinoWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//Standard Libraries
#include <stdint.h>
#include <msp430.h>

#include "config.h"
#include "i2c.h"

//TODO functions that need wrapper: millis(), Serial.print
Expand Down
3 changes: 0 additions & 3 deletions MSP430/I2Cdev/I2Cdev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ THE SOFTWARE.
/** Default constructor.
*/
I2Cdev::I2Cdev() {
#if (I2CDEV_IMPLEMENTATION == I2CDEV_MSP430)
I2C_masterInit();
#endif

}

Expand Down

0 comments on commit 92921ca

Please sign in to comment.