Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
8:bfcfda6b38fe
Parent:
6:df6d8ba1907a
Child:
9:6057314dc8ec
--- a/main.cpp	Fri Sep 12 23:01:17 2014 +0000
+++ b/main.cpp	Sat Sep 13 09:42:55 2014 +0000
@@ -44,7 +44,6 @@
 void masterLoop(){
     float ir_m,fsr_m;   //sensor of master
     float ir_s,fsr_s;   //sensor of slave
-    sync(SYNC_SENSOR,NULL,NULL);
     recieveSensor( &ir_s, &fsr_s );
     led4 = ( ir_s>0.5 ? 1 : 0 );
     led2 = ( led2 ? 0 : 1 );