master working version 1.2

Dependencies:   mbed-rtos mbed

Fork of master_working_1_1 by sakthi priya amirtharaj

Files at this revision

API Documentation at this revision

Comitter:
sakthipriya
Date:
Mon Dec 15 05:51:25 2014 +0000
Parent:
1:e5c939440756
Commit message:
free queue

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e5c939440756 -r e80af3c366aa main.cpp
--- a/main.cpp	Sat Dec 13 12:04:13 2014 +0000
+++ b/main.cpp	Mon Dec 15 05:51:25 2014 +0000
@@ -127,6 +127,7 @@
                     printf("master has written %c to slave\n\r",*writedata);
                     write2slave=false;
                     }
+                i2c_data_send.free(i2c_data_s);
                 }
             }
 }
@@ -141,5 +142,6 @@
     while(1)
     { 
       FUNC_MASTER_WRITE();  
+      
     }
 }           
\ No newline at end of file