mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Cleanup various compiler warnings that were appearing since the
additional compiler flags were added.
This commit is contained in:
parent
2d6a61c8c7
commit
9a9ff9b1ad
25 changed files with 102 additions and 37 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "serial.h"
|
||||
#include "serial_uart.h"
|
||||
|
||||
|
@ -57,6 +59,7 @@ static void uartReconfigure(uartPort_t *uartPort)
|
|||
|
||||
serialPort_t *uartOpen(USART_TypeDef *USARTx, serialReceiveCallbackPtr callback, uint32_t baudRate, portMode_t mode, serialInversion_e inversion)
|
||||
{
|
||||
UNUSED(inversion);
|
||||
DMA_InitTypeDef DMA_InitStructure;
|
||||
|
||||
uartPort_t *s = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue