Add check for freeNode in RAK4631 power section

master
jacob.eva 6 months ago
parent 3ccdb79b91
commit 52629cb1bf
No known key found for this signature in database
GPG Key ID: B92E083BBCCAA1E
  1. 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…
Cancel
Save