Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017 by
Diff: bt.cpp
- Revision:
- 33:a80eed071fdc
- Parent:
- 32:76892fdf5e4c
- Child:
- 36:00d96aa14658
diff -r 76892fdf5e4c -r a80eed071fdc bt.cpp
--- 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");
