Skip to content

Commit

Permalink
STM32F30x - Ignore PWM mapping conflicts of UART2.
Browse files Browse the repository at this point in the history
Note: this reverts the change to this behavior made when the 'uart45'
branch was merged.
  • Loading branch information
hydra committed Feb 25, 2016
1 parent 0da8af6 commit c00fd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void init(void)
pwm_params.airplane = true;
else
pwm_params.airplane = false;
#if defined(USE_UART2)
#if defined(USE_UART2) && defined(STM32F10X)
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_UART2);
#endif
#if defined(USE_UART3)
Expand Down

0 comments on commit c00fd2a

Please sign in to comment.