update code

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

Revision:
6:397db5c5ad11
Parent:
4:2c73682f05b5
--- a/main.cpp	Tue May 03 14:52:38 2016 +0000
+++ b/main.cpp	Tue May 03 15:06:03 2016 +0000
@@ -1,7 +1,6 @@
 #include <stdlib.h>
 //#include <pthread.h>
 //#include <semaphore.h>
-#include "buffer.h"
 #include "mbed.h"
 //#include "string.h"
 #include <stdio.h>
@@ -12,7 +11,7 @@
 #define RAND_DIVISOR 100000000
 #define TRUE 1
 
-void thread1(const void *);
+void thread1(void *param);
 
 //setting out variables
 
@@ -761,7 +760,7 @@
 
 int main() {
    
-    tid = new Thread(&thread1);
+    //tid = new Thread(thread1);
     SampleRate sampleRate =  SampleRate();
     TakeSample takeSample = TakeSample();
     SampleTemp sampleTemp = SampleTemp();