Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Revision:
35:34bbca276f99
Parent:
25:2197b8bb930c
diff -r 2ee6fbdad7b4 -r 34bbca276f99 log.h
--- a/log.h	Wed May 18 02:30:17 2016 +0000
+++ b/log.h	Wed May 18 03:32:21 2016 +0000
@@ -3,15 +3,12 @@
 
 #include <time.h>
 
-// Structure that will hold the log information 
-struct log_data {
+typedef struct  {
     float    tempCelsius;
     float    humidity;
     float    pressure;
-    float    accelerometer[3];
-    float    gyroscope[3];
-    float    magnetometer[3];
     time_t   date;
-};
+    int      counter;
+} log_data ;
 
 #endif
\ No newline at end of file