mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* sensor node: now have two alert priorities, LO, HI
This commit is contained in:
parent
91b911320b
commit
797ab85283
3 changed files with 12 additions and 10 deletions
|
|
@ -22,7 +22,7 @@ protected:
|
|||
float batt_voltage = getVoltage(TELEM_CHANNEL_SELF);
|
||||
|
||||
battery_data.recordData(getRTCClock(), batt_voltage); // record battery
|
||||
alertIf(batt_voltage < 3.4f, low_batt, "Battery low!");
|
||||
alertIf(batt_voltage < 3.4f, low_batt, HIGH_PRI_ALERT, "Battery low!");
|
||||
}
|
||||
|
||||
int querySeriesData(uint32_t start_secs_ago, uint32_t end_secs_ago, MinMaxAvg dest[], int max_num) override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue