Skip to content

Commit 867b7c6

Browse files
committed
I2C pins remain high during sleep mode
1 parent 2b585ad commit 867b7c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/panstamp/cc430core.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ void CC430CORE::setLowPowerMode(bool lpm4)
7474
P1OUT |= 0x90;
7575
#elif __NRG_VERSION_1_0__
7676
P1OUT |= 0x30;
77+
#else // __NRG_VERSION_2
78+
P1OUT |= 0x18;
7779
#endif
7880

7981
// Configure ports working as alternative functions as outputs

0 commit comments

Comments
 (0)