mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
REVPRO fixes
This commit is contained in:
parent
efeb02b6c6
commit
324fe4e341
9 changed files with 122 additions and 82 deletions
|
@ -304,6 +304,8 @@ void watchdogSetTimeout(uint32_t timeout)
|
|||
watchdogTimeout = timeout;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// TODO remove definitely?
|
||||
void opentxBootloader()
|
||||
{
|
||||
BACKLIGHT_ON();
|
||||
|
@ -318,6 +320,8 @@ void opentxBootloader()
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
void per10ms()
|
||||
{
|
||||
g_tmr10ms++;
|
||||
|
@ -5674,7 +5678,8 @@ int main(void)
|
|||
opentxInit(mcusr);
|
||||
#endif
|
||||
|
||||
#if defined(CPUARM)
|
||||
#if 0
|
||||
// TODO remove definitely?
|
||||
if (BOOTLOADER_REQUEST()) {
|
||||
pwrOff(); // Only turn power off if necessary
|
||||
|
||||
|
@ -5692,7 +5697,9 @@ int main(void)
|
|||
|
||||
opentxBootloader();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CPUARM)
|
||||
CoInitOS();
|
||||
|
||||
#if defined(CPUARM) && defined(DEBUG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue