Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Revision:
26:3aad7d411eb0
Parent:
21:849e5636076e
diff -r c924342f7c76 -r 3aad7d411eb0 sensor.h
--- a/sensor.h	Tue May 17 21:38:21 2016 +0000
+++ b/sensor.h	Tue May 17 23:19:33 2016 +0000
@@ -23,13 +23,13 @@
 class ExpansionBoard
 {
 public:
-    ExpansionBoard(vector<log_data> vector, int num, bool lFlag);
+    ExpansionBoard(int num, bool lFlag);
     static void sampleData();
     static void getData(const void*);
     static Mail<log_data, QUEUESIZE> mail_box;
     static char *ExpansionBoard::printDouble(char* str, double v, int decimalDigits);
     float T;                       //Default sampling rate, specified in specs
-    static vector<log_data> * v;
+    static std::vector<log_data> v;
     static int * n;
     static bool flag;
     static bool loggingFlag;