Починен приём данных с пульта

This commit is contained in:
2026-04-20 17:56:36 +03:00
parent 1a7491c4f6
commit 9cc3f1ba51
3 changed files with 15 additions and 9 deletions

View File

@@ -130,6 +130,8 @@ int main()
SystemClock_Config(); // 170MHz
IMU_InitPower();
TICK_Init();
TIM6_Init(TIM_PRIORITY, 500, TimerUpdateSensor, TimerUpdateMain);
@@ -140,9 +142,9 @@ int main()
TIM6_Enable();
TIM7_Enable();
attitude_t attitude;
rc_channels rx_chs_raw;
rc_channels rx_chs_normalized;
static attitude_t attitude;
static rc_channels rx_chs_raw;
static rc_channels rx_chs_normalized;
static control_channels_t ctrl_chs;
attitude_init(&attitude);