To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: i2c.h
- Revision:
- 55:39e59903bc3a
- Parent:
- 52:0bd68655c651
--- a/i2c.h Thu Jan 14 13:26:40 2016 +0000 +++ b/i2c.h Thu Jan 14 15:00:25 2016 +0000 @@ -28,7 +28,7 @@ if (write_ack == 1) { led2 = 1; - printf("\n\r data not sent \n"); + //printf("\n\r data not sent \n"); led2 = 0; } irpt_2_slv = 0; @@ -49,7 +49,7 @@ if (read_ack == 1) { led2 = 1; - printf("\n \r data not received \n"); + //printf("\n \r data not received \n"); led2 = 0; } //if(read_ack == 1)