Course project for LE484 at Thammasat University, class of 2016

Revision:
10:25704cab4585
Parent:
7:d702abfe51e3
Child:
12:845639da2f03
--- a/main.cpp	Mon May 08 04:45:50 2017 +0000
+++ b/main.cpp	Mon May 08 04:52:03 2017 +0000
@@ -8,7 +8,7 @@
 #include "platform.h"
 
 
-Thread sensor;
+Thread sensorThread;
 
 
 RawSerial pc(USBTX, USBRX);  // use USB-serial for testing purpose
@@ -29,7 +29,7 @@
 */
 int main() {
     pc.attach(rxHandler);
-    sensor.start(sensorIn);    
+    sensorThread.start(sensorIn);    
     while (true) {
         osEvent evt = mbx.get();
         if (evt.status == osEventMail) {