mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 13:08:36 -07:00
Configurable SPI & Uart channels
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#include "esp_flasher_app_i.h"
|
||||
#include "esp_flasher_uart.h"
|
||||
#include <xtreme.h>
|
||||
|
||||
#define UART_CH (FuriHalUartIdUSART1)
|
||||
#define UART_CH \
|
||||
(XTREME_SETTINGS()->uart_esp_channel == UARTDefault ? FuriHalUartIdUSART1 : \
|
||||
FuriHalUartIdLPUART1)
|
||||
#define BAUDRATE (115200)
|
||||
|
||||
struct EspFlasherUart {
|
||||
|
||||
Reference in New Issue
Block a user