mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 20:10:08 +03:00
Bootloader not always started on Horus
This commit is contained in:
parent
c204a308c5
commit
3fe96bc6dd
1 changed files with 1 additions and 3 deletions
|
@ -195,8 +195,6 @@ int main()
|
||||||
FRESULT fr;
|
FRESULT fr;
|
||||||
uint32_t nameCount = 0;
|
uint32_t nameCount = 0;
|
||||||
|
|
||||||
WDG_RESET();
|
|
||||||
|
|
||||||
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph | KEYS_RCC_AHB1Periph |
|
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph | KEYS_RCC_AHB1Periph |
|
||||||
LCD_RCC_AHB1Periph | BACKLIGHT_RCC_AHB1Periph |
|
LCD_RCC_AHB1Periph | BACKLIGHT_RCC_AHB1Periph |
|
||||||
AUX_SERIAL_RCC_AHB1Periph | I2C_RCC_AHB1Periph |
|
AUX_SERIAL_RCC_AHB1Periph | I2C_RCC_AHB1Periph |
|
||||||
|
@ -215,7 +213,7 @@ int main()
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
// wait a bit for the inputs to stabilize...
|
// wait a bit for the inputs to stabilize...
|
||||||
for (uint32_t i = 0; i < 50000; i++) {
|
for (uint32_t i = 0; i < 50000; i++) {
|
||||||
WDG_RESET();
|
__ASM volatile ("nop");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue