Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SmartHome
NodeManager_GasSensor
Commits
1d24f1f1
Commit
1d24f1f1
authored
Mar 31, 2017
by
user2684
Browse files
Documentation about setBatteryReportCycles() is incorrect #32
parent
7b7deb9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
NodeManagerTemplate/NodeManager.h
View file @
1d24f1f1
...
...
@@ -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: 1
0
)
void
setBatteryReportCycles
(
int
value
);
#endif
#if SLEEP_MANAGER == 1
...
...
README.md
View file @
1d24f1f1
...
...
@@ -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: 1
0
)
void
setBatteryReportCycles
(
int
value
);
#endif
#if SLEEP_MANAGER == 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment