1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2018-03-27 13:01:15 +02:00
parent 7332ceb2eb
commit cd7a18fecd
4 changed files with 49 additions and 52 deletions

View file

@ -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);