Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
Diff: bt.cpp
- Revision:
- 33:a80eed071fdc
- Parent:
- 32:76892fdf5e4c
- Child:
- 36:00d96aa14658
--- 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");