Skip to content

Commit

Permalink
low_voltage_cutoff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Mar 24, 2024
1 parent caa4869 commit 0e9dba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/battery_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#include "configuration.h"
#include "pins_config.h"

// Uncomment if you want to monitor voltage and sleep if voltage is too low (<3.1V)
#define LOW_VOLTAGE_CUTOFF
// Uncomment if you want to monitor voltage and sleep if voltage is too low (<3.15V)
//#define LOW_VOLTAGE_CUTOFF

float cutOffVoltage = 3.1;
float cutOffVoltage = 3.15;

extern Configuration Config;
extern uint32_t lastBatteryCheck;
Expand Down

0 comments on commit 0e9dba7

Please sign in to comment.