1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Fix SITL warnings

This commit is contained in:
Petr Ledvina 2017-05-11 13:39:32 +02:00
parent 4c063b5875
commit 58212464c5
5 changed files with 10 additions and 11 deletions

View file

@ -146,7 +146,7 @@ uint32_t IO_EXTI_Line(IO_t io)
#elif defined(STM32F7)
return 1 << IO_GPIOPinIdx(io);
#elif defined(SIMULATOR_BUILD)
return 1;
return 0;
#else
# error "Unknown target type"
#endif