1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Bootloader not always started on Horus

This commit is contained in:
Bertrand Songis 2019-11-25 10:27:00 +01:00
parent c204a308c5
commit 3fe96bc6dd
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -195,8 +195,6 @@ int main()
FRESULT fr;
uint32_t nameCount = 0;
WDG_RESET();
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph | KEYS_RCC_AHB1Periph |
LCD_RCC_AHB1Periph | BACKLIGHT_RCC_AHB1Periph |
AUX_SERIAL_RCC_AHB1Periph | I2C_RCC_AHB1Periph |
@ -215,7 +213,7 @@ int main()
#if defined(PCBHORUS)
// wait a bit for the inputs to stabilize...
for (uint32_t i = 0; i < 50000; i++) {
WDG_RESET();
__ASM volatile ("nop");
}
#endif