mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
G4 LPUART rework (#11821)
* Extracted SOTSERIAL_TX & RX resources * Fixed LPUART1 on G4
This commit is contained in:
parent
7b39d3d296
commit
b8855d3a71
14 changed files with 120 additions and 47 deletions
|
@ -27,7 +27,9 @@
|
|||
#include "drivers/io_types.h"
|
||||
#include "drivers/dma_reqmap.h"
|
||||
|
||||
#define UARTDEV_CONFIG_MAX 8 // Alternative to UARTDEV_COUNT_MAX, which requires serial_uart_imp.h
|
||||
|
||||
// TODO(hertz@): this alternative got out of sync
|
||||
#define UARTDEV_CONFIG_MAX 11 // Alternative to UARTDEV_COUNT_MAX, which requires serial_uart_imp.h
|
||||
|
||||
typedef struct serialUartConfig_s {
|
||||
int8_t txDmaopt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue