From 1d24f1f16d502e452b5c887dba4dc0554e6c5bcc Mon Sep 17 00:00:00 2001 From: user2684 <you@example.com> Date: Fri, 31 Mar 2017 12:41:16 +0200 Subject: [PATCH] Documentation about setBatteryReportCycles() is incorrect #32 --- NodeManagerTemplate/NodeManager.h | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NodeManagerTemplate/NodeManager.h b/NodeManagerTemplate/NodeManager.h index 71213ce..86871b2 100644 --- a/NodeManagerTemplate/NodeManager.h +++ b/NodeManagerTemplate/NodeManager.h @@ -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 diff --git a/README.md b/README.md index 8c9a149..ca30163 100644 --- a/README.md +++ b/README.md @@ -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 -- GitLab