mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Platform type and hasFlaps flag moved to user settings
This commit is contained in:
parent
7332ceb2eb
commit
cd7a18fecd
4 changed files with 49 additions and 52 deletions
|
@ -290,7 +290,7 @@ void init(void)
|
|||
#endif
|
||||
|
||||
// when using airplane/wing mixer, servo/motor outputs are remapped
|
||||
pwm_params.flyingPlatformType = getFlyingPlatformType();
|
||||
pwm_params.flyingPlatformType = mixerConfig()->platformType;
|
||||
|
||||
#if defined(USE_UART2) && defined(STM32F10X)
|
||||
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_USART2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue