Mercurial > public > ostc4
changeset 460:2effe85f1a9b minor_improvments
merged default into minor_improvments
author | Ideenmodellierer |
---|---|
date | Sun, 29 Mar 2020 21:55:00 +0200 |
parents | 7ac0e76dbd6a (current diff) 9a9e4908ce2e (diff) |
children | b3f684cea9c0 |
files | Discovery/Src/externLogbookFlash.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/externLogbookFlash.c Sun Mar 29 21:39:57 2020 +0200 +++ b/Discovery/Src/externLogbookFlash.c Sun Mar 29 21:55:00 2020 +0200 @@ -1443,7 +1443,7 @@ /* TODO Cleanup_Ref_1: cleanup logFlashNextSampleStartAddress and lastDiveLogId */ /* The implementation below would cause problems in case more then 254 dives would be done. */ /* This is avoided by Cleanup_Ref2 */ - for(id = 0; id < 255;id++) + for(id = 0; id <= 255;id++) { actualAddress = HEADERSTART + (0x800 * id) + HEADER2OFFSET; ext_flash_read_block_start();