mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Companion simulator crash for REVPLUS, TIM4 simulator substitute was not defined
This commit is contained in:
parent
fb20b21151
commit
750cde82d1
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,7 @@ GPIO_TypeDef gpiod;
|
||||||
GPIO_TypeDef gpioe;
|
GPIO_TypeDef gpioe;
|
||||||
TIM_TypeDef tim1;
|
TIM_TypeDef tim1;
|
||||||
TIM_TypeDef tim3;
|
TIM_TypeDef tim3;
|
||||||
|
TIM_TypeDef tim4;
|
||||||
TIM_TypeDef tim8;
|
TIM_TypeDef tim8;
|
||||||
TIM_TypeDef tim10;
|
TIM_TypeDef tim10;
|
||||||
RCC_TypeDef rcc;
|
RCC_TypeDef rcc;
|
||||||
|
|
|
@ -116,6 +116,7 @@ extern GPIO_TypeDef gpioe;
|
||||||
#define GPIOE (&gpioe)
|
#define GPIOE (&gpioe)
|
||||||
extern TIM_TypeDef tim1;
|
extern TIM_TypeDef tim1;
|
||||||
extern TIM_TypeDef tim3;
|
extern TIM_TypeDef tim3;
|
||||||
|
extern TIM_TypeDef tim4;
|
||||||
extern TIM_TypeDef tim8;
|
extern TIM_TypeDef tim8;
|
||||||
extern TIM_TypeDef tim10;
|
extern TIM_TypeDef tim10;
|
||||||
#undef TIM1
|
#undef TIM1
|
||||||
|
@ -124,6 +125,7 @@ extern TIM_TypeDef tim10;
|
||||||
#undef TIM10
|
#undef TIM10
|
||||||
#define TIM1 (&tim1)
|
#define TIM1 (&tim1)
|
||||||
#define TIM3 (&tim3)
|
#define TIM3 (&tim3)
|
||||||
|
#define TIM4 (&tim4)
|
||||||
#define TIM8 (&tim8)
|
#define TIM8 (&tim8)
|
||||||
#define TIM10 (&tim10)
|
#define TIM10 (&tim10)
|
||||||
extern RCC_TypeDef rcc;
|
extern RCC_TypeDef rcc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue