Mercurial > public > ostc4
diff Discovery/Src/logbook.c @ 430:30580cf5ee77
Merged in Ideenmodellierer/ostc4/ImprovmentNVM_2 (pull request #39)
ImprovmentNVM 2
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Tue, 18 Feb 2020 07:20:29 +0000 |
parents | b1091e183d52 |
children | ee1434824c3f |
line wrap: on
line diff
--- a/Discovery/Src/logbook.c Mon Feb 10 08:23:15 2020 +0000 +++ b/Discovery/Src/logbook.c Tue Feb 18 07:20:29 2020 +0000 @@ -1187,8 +1187,10 @@ { pSettings->logbookOffset++; } - ext_flash_write_settings(); + ext_flash_write_settings(0); ext_flash_disable_protection_for_logbook(); + + ext_flash_CloseSector(); /* this is just a repair function which invalidates a not used sector in case a log maintenance was called before dive */ bDiveMode = 3; } if(bDiveMode == 3)