Add check for freeNode in RAK4631 power section

This commit is contained in:
jacob.eva 2024-09-04 10:18:52 +01:00
parent 3ccdb79b91
commit 52629cb1bf
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -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