comparison Discovery/Src/externLogbookFlash.c @ 225:2bb1db22b5f5 div-fixes-3

cleanup: random set of cleanups A random set of cleanups, as found during code reading, and looking around fixing issues. Contains all kinds of things: typo's in comment, typo in variable name, removal of unused code, making things static where possible. Does not contain any functional changes. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 01 Apr 2019 15:50:41 +0200
parents 5f11787b4f42
children 1b9847d40e81
comparison
equal deleted inserted replaced
224:ceecabfddb57 225:2bb1db22b5f5
2023 { 2023 {
2024 while(1) 2024 while(1)
2025 { 2025 {
2026 } 2026 }
2027 } 2027 }
2028 2028 /*
2029 uint8_t ext_flash_erase_firmware_if_not_empty(void) 2029 uint8_t ext_flash_erase_firmware_if_not_empty(void)
2030 { 2030 {
2031 const uint8_t TESTSIZE_FW = 4; 2031 const uint8_t TESTSIZE_FW = 4;
2032 2032
2033 uint8_t data[TESTSIZE_FW]; 2033 uint8_t data[TESTSIZE_FW];
2074 ext_flash_erase_firmware2(); 2074 ext_flash_erase_firmware2();
2075 return 1; 2075 return 1;
2076 } 2076 }
2077 else 2077 else
2078 return 0; 2078 return 0;
2079 } 2079 }*/