mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-10-01 03:15:40 -04: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);
|
PMU->setPowerKeyPressOffTime(XPOWERS_POWEROFF_4S);
|
||||||
|
|
||||||
return true;
|
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
|
// board doesn't have PMU but we can measure batt voltage
|
||||||
|
|
||||||
// prep ADC for reading battery level
|
// prep ADC for reading battery level
|
||||||
|
Loading…
Reference in New Issue
Block a user