Mercurial > public > ostc4
comparison Discovery/Inc/externLogbookFlash.h @ 268:1b9847d40e81 write-from-sim
cleanup: make things static where possible.
and comment out some code that is not used. Trivial cleanup.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Tue, 23 Apr 2019 17:41:20 +0200 |
parents | 5f11787b4f42 |
children | 3f7d80f37bfc |
comparison
equal
deleted
inserted
replaced
267:cf6ad20380fb | 268:1b9847d40e81 |
---|---|
143 void ext_flash_enable_protection(void); | 143 void ext_flash_enable_protection(void); |
144 | 144 |
145 void ext_flash_read_block_start(void); | 145 void ext_flash_read_block_start(void); |
146 | 146 |
147 void ext_flash_repair_dive_log(void); | 147 void ext_flash_repair_dive_log(void); |
148 void ext_flash_find_start(void); | |
149 | 148 |
150 uint8_t ext_flash_erase_firmware_if_not_empty(void); | 149 uint8_t ext_flash_erase_firmware_if_not_empty(void); |
151 uint8_t ext_flash_erase_firmware2_if_not_empty(void); | 150 uint8_t ext_flash_erase_firmware2_if_not_empty(void); |
152 void ext_flash_write_firmware(uint8_t *pSample1, uint32_t length1);//,uint8_t *pSample2, uint32_t length2); | 151 void ext_flash_write_firmware(uint8_t *pSample1, uint32_t length1);//,uint8_t *pSample2, uint32_t length2); |
153 uint32_t ext_flash_read_firmware(uint8_t *pSample1, uint32_t max_length, uint8_t *magicByte); | 152 uint32_t ext_flash_read_firmware(uint8_t *pSample1, uint32_t max_length, uint8_t *magicByte); |