Orefatoi / Mbed 2 deprecated afero_poc15_171201

Dependencies:   mbed vt100

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) ;
         }