Skip to content
Snippets Groups Projects
Commit 1d24f1f1 authored by user2684's avatar user2684
Browse files

Documentation about setBatteryReportCycles() is incorrect #32

parent 7b7deb9f
No related branches found
No related tags found
No related merge requests found
...@@ -593,7 +593,7 @@ class NodeManager { ...@@ -593,7 +593,7 @@ class NodeManager {
void setBatteryMin(float value); void setBatteryMin(float value);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3) // the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void setBatteryMax(float value); 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); void setBatteryReportCycles(int value);
#endif #endif
#if SLEEP_MANAGER == 1 #if SLEEP_MANAGER == 1
......
...@@ -124,7 +124,7 @@ Node Manager comes with a reasonable default configuration. If you want/need to ...@@ -124,7 +124,7 @@ Node Manager comes with a reasonable default configuration. If you want/need to
void setBatteryMin(float value); void setBatteryMin(float value);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3) // the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void setBatteryMax(float value); 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); void setBatteryReportCycles(int value);
#endif #endif
#if SLEEP_MANAGER == 1 #if SLEEP_MANAGER == 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment