Maxim Integrated / Mbed 2 deprecated DeepCover Embedded Security in IoT

Dependencies:   MaximInterface mbed

Revision:
13:6e753e78987c
Parent:
6:b6bafd0a7013
Child:
24:434330962308
--- a/common.hpp	Thu May 26 21:14:22 2016 +0000
+++ b/common.hpp	Fri May 27 11:47:20 2016 -0500
@@ -41,10 +41,10 @@
 /// Contains a set of sensor measurements.
 struct SensorData
 {
-  static const std::int8_t tempAlarmLevel = 26;
+  static const int8_t tempAlarmLevel = 26;
   static const uint8_t filterLifeAlarmLevel = 20;
   
-  std::int8_t temp;
+  int8_t temp;
   uint8_t filterLife;
   
   bool tempAlarm() const { return (temp >= tempAlarmLevel); }