Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: edge_utils/edge_mgr.cpp
- Revision:
- 12:4c0bd7fce2fd
- Parent:
- 9:f958fa2cdc74
- Child:
- 13:88ee926c56ae
--- a/edge_utils/edge_mgr.cpp Mon Dec 11 05:52:25 2017 +0000
+++ b/edge_utils/edge_mgr.cpp Tue Dec 12 02:28:51 2017 +0000
@@ -121,6 +121,9 @@
if (sensor[sensor_index]) {
afero->setAttributeBool(ATTR_GAS_PRESENT, true) ;
afero->setAttributeBool(ATTR_GAS_ENABLE, true) ;
+ afero->getAttribute(ATTR_GAS_THR_MODE) ;
+ afero->getAttribute(ATTR_GAS_THR_HIGH) ;
+ afero->getAttribute(ATTR_GAS_THR_LOW) ;
} else {
afero->setAttributeBool(ATTR_GAS_PRESENT, false) ;
}