mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-12-29 01:16:17 -05:00
Add check for freeNode in RAK4631 power section
This commit is contained in:
parent
3ccdb79b91
commit
52629cb1bf
2
Power.h
2
Power.h
@ -421,7 +421,7 @@ bool init_pmu() {
|
||||
PMU->setPowerKeyPressOffTime(XPOWERS_POWEROFF_4S);
|
||||
|
||||
return true;
|
||||
#elif BOARD_MODEL == BOARD_RAK4631
|
||||
#elif BOARD_MODEL == BOARD_RAK4631 || BOARD_MODEL == BOARD_FREENODE
|
||||
// board doesn't have PMU but we can measure batt voltage
|
||||
|
||||
// prep ADC for reading battery level
|
||||
|
Loading…
Reference in New Issue
Block a user