fix: Added CN/TW translations, reduced TW text size to fit firmware, TX16 BOR tweak (#1776)
* Added CN/TW translation and reduced TW text size Added CN/TW translation and reduced TW text size. Because the TW text causes the firmware to exceed the flash size, reduce the text size. * Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases. * Update cn.h.txt * Update tw.h.txt
This commit is contained in:
@@ -159,6 +159,17 @@ void boardInit()
|
||||
BACKLIGHT_RCC_APB2Periph,
|
||||
ENABLE);
|
||||
|
||||
#if defined(RADIO_TX16S)
|
||||
|
||||
if (FLASH_OB_GetBOR() != OB_BOR_LEVEL3)
|
||||
{
|
||||
FLASH_OB_Unlock();
|
||||
FLASH_OB_BORConfig(OB_BOR_LEVEL3);
|
||||
FLASH_OB_Launch();
|
||||
FLASH_OB_Lock();
|
||||
}
|
||||
#endif
|
||||
|
||||
pwrInit();
|
||||
pwrOn();
|
||||
delaysInit();
|
||||
|
||||
Reference in New Issue
Block a user