Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NodeManager_BME280_EasyPCB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartHome
NodeManager_BME280_EasyPCB
Commits
e70b14d7
Commit
e70b14d7
authored
7 years ago
by
user2684
Browse files
Options
Downloads
Patches
Plain Diff
Compilation error when BATTERY_MANAGER is off #206
parent
080588d0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NodeManager.cpp
+6
-4
6 additions, 4 deletions
NodeManager.cpp
NodeManager.h
+2
-2
2 additions, 2 deletions
NodeManager.h
with
8 additions
and
6 deletions
NodeManager.cpp
+
6
−
4
View file @
e70b14d7
...
@@ -3719,9 +3719,11 @@ void NodeManager::process(Request & request) {
...
@@ -3719,9 +3719,11 @@ void NodeManager::process(Request & request) {
case
37
:
setReportIntervalMinutes
(
request
.
getValueInt
());
break
;
case
37
:
setReportIntervalMinutes
(
request
.
getValueInt
());
break
;
case
38
:
setReportIntervalHours
(
request
.
getValueInt
());
break
;
case
38
:
setReportIntervalHours
(
request
.
getValueInt
());
break
;
case
39
:
setReportIntervalDays
(
request
.
getValueInt
());
break
;
case
39
:
setReportIntervalDays
(
request
.
getValueInt
());
break
;
case
40
:
setBatteryReportSeconds
(
request
.
getValueInt
());
break
;
#if BATTERY_MANAGER == 1
case
41
:
setBatteryReportHours
(
request
.
getValueInt
());
break
;
case
40
:
setBatteryReportSeconds
(
request
.
getValueInt
());
break
;
case
42
:
setBatteryReportDays
(
request
.
getValueInt
());
break
;
case
41
:
setBatteryReportHours
(
request
.
getValueInt
());
break
;
case
42
:
setBatteryReportDays
(
request
.
getValueInt
());
break
;
#endif
default:
return
;
default:
return
;
}
}
_send
(
_msg
.
set
(
function
));
_send
(
_msg
.
set
(
function
));
...
@@ -4113,4 +4115,4 @@ void NodeManager::_saveConfig() {
...
@@ -4113,4 +4115,4 @@ void NodeManager::_saveConfig() {
saveState
(
EEPROM_SLEEP_1
,
bit_1
);
saveState
(
EEPROM_SLEEP_1
,
bit_1
);
saveState
(
EEPROM_SLEEP_2
,
bit_2
);
saveState
(
EEPROM_SLEEP_2
,
bit_2
);
saveState
(
EEPROM_SLEEP_3
,
bit_3
);
saveState
(
EEPROM_SLEEP_3
,
bit_3
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
NodeManager.h
+
2
−
2
View file @
e70b14d7
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#include
<Arduino.h>
#include
<Arduino.h>
// define NodeManager version
// define NodeManager version
#define VERSION "1.6
-dev
"
#define VERSION "1.6"
/***********************************
/***********************************
Constants
Constants
...
@@ -1633,4 +1633,4 @@ class NodeManager {
...
@@ -1633,4 +1633,4 @@ class NodeManager {
void
_saveConfig
();
void
_saveConfig
();
};
};
#endif
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment