Skip to content

Commit 903a7c0

Browse files
committed
INIT_ACC_POWER() command excluded for NRG 2.0
1 parent 91fcdf9 commit 903a7c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/panstamp/panstamp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ void PANSTAMP::init(uint8_t freq, uint8_t mode)
111111
INIT_ONBOARD_LED();
112112

113113
// Initialize internal ACC power pin
114+
#if defined(__NRG_VERSION_1_0__) || defined(__NRG_VERSION_1_1__)
114115
INIT_ACC_POWER();
116+
#endif
115117

116118
// Setup radio interface
117119
radio.init(freq, mode);

0 commit comments

Comments
 (0)