mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Flash only unlocked when needed
This commit is contained in:
parent
d442fa77e0
commit
ac1dbf81f4
5 changed files with 25 additions and 2 deletions
|
@ -674,6 +674,7 @@ void RCC_LSEConfig(uint8_t RCC_LSE) { }
|
|||
FlagStatus RCC_GetFlagStatus(uint8_t RCC_FLAG) { return RESET; }
|
||||
ErrorStatus RTC_WaitForSynchro(void) { return SUCCESS; }
|
||||
void unlockFlash() { }
|
||||
void lockFlash() { }
|
||||
void writeFlash(uint32_t *address, uint32_t *buffer) { SIMU_SLEEP(100); }
|
||||
uint32_t isBootloaderStart(const void *block) { return 1; }
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue