Modification into 17th July New display demo code

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of Ext_Demo_17July2017_newdis by SenseSemi

Revision:
33:a80eed071fdc
Parent:
32:76892fdf5e4c
--- a/bt.cpp	Sat Jul 15 10:30:46 2017 +0000
+++ b/bt.cpp	Tue Jul 18 04:15:30 2017 +0000
@@ -294,11 +294,13 @@
                    if (ack_rx==myBleMsg->proto)
                       {*/
                       if (bt_file_tosend<=current_file)     
-                            {      sd_close();
-                                // bt_file_tosend=bt_file_tosend+1;
-                                 // eprom_write(6,bt_file_tosend);
-                                 // sd_open_read(bt_file_tosend);
-                                 // total_file_size=file_size() ;  
+                            {   
+                                if (file==1)
+                                   {
+                                         sd_close();
+                                      }  
+              
+                                      
                                   state_tx=1;
                                   
                                   mc.printf("next file");