arm studio build

Dependencies:   libxDot-mbed5

Revision:
9:cc23b2049639
Parent:
8:a5316708e51d
Child:
17:74d60177c6b6
diff -r a5316708e51d -r cc23b2049639 src/commI2C.cpp
--- a/src/commI2C.cpp	Sat Aug 11 17:34:42 2018 +0000
+++ b/src/commI2C.cpp	Mon Aug 13 15:58:00 2018 +0000
@@ -123,6 +123,9 @@
         }; //switch  
         
         timeout--;
-        if(timeout == 0)return I2C_WRITE;  //just go to sleep 
+        if(timeout == 0){
+            pc.printf("\r\n I2C TIMEOUT");
+            return I2C_WRITE;  //just go to sleep 
+        }             
       }; //while  
 }             
\ No newline at end of file