Commit 1d24f1f1 authored by user2684's avatar user2684
Browse files

Documentation about setBatteryReportCycles() is incorrect #32

parent 7b7deb9f
......@@ -593,7 +593,7 @@ class NodeManager {
void setBatteryMin(float value);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void setBatteryMax(float value);
// how frequently (in hours) to report the battery level to the controller. When reset the battery is always reported (default: 1)
// after how many sleeping cycles report the battery level to the controller. When reset the battery is always reported (default: 10)
void setBatteryReportCycles(int value);
#endif
#if SLEEP_MANAGER == 1
......
......@@ -124,7 +124,7 @@ Node Manager comes with a reasonable default configuration. If you want/need to
void setBatteryMin(float value);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void setBatteryMax(float value);
// how frequently (in hours) to report the battery level to the controller. When reset the battery is always reported (default: 1)
// after how many sleeping cycles report the battery level to the controller. When reset the battery is always reported (default: 10)
void setBatteryReportCycles(int value);
#endif
#if SLEEP_MANAGER == 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment