19 lines
271 B
C++
19 lines
271 B
C++
//
|
|
// Created by erki on 6/3/23.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/queue.h"
|
|
#include "driver/uart.h"
|
|
|
|
namespace Serial
|
|
{
|
|
|
|
[[nodiscard]] QueueHandle_t setupSerial(const uart_port_t uart);
|
|
|
|
void discardRxBuffer(const uart_port_t uart);
|
|
|
|
}
|