Skip to content

Commit

Permalink
I2C pins remain high during sleep mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenguer committed Sep 17, 2015
1 parent 2b585ad commit 867b7c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/panstamp/cc430core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void CC430CORE::setLowPowerMode(bool lpm4)
P1OUT |= 0x90;
#elif __NRG_VERSION_1_0__
P1OUT |= 0x30;
#else // __NRG_VERSION_2
P1OUT |= 0x18;
#endif

// Configure ports working as alternative functions as outputs
Expand Down

0 comments on commit 867b7c6

Please sign in to comment.