--upd
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#define READER_MAIN_PROG_UART_BRIDGE_HPP
|
||||
#include "circular_buffer.hpp"
|
||||
#include "usart.h"
|
||||
|
||||
#include "reader_communication.h"
|
||||
#define BUF_SIZE 1024U
|
||||
#define MAX_QUEUE 16
|
||||
|
||||
@@ -15,8 +15,8 @@ class UartBridge{
|
||||
public:
|
||||
UartBridge(bool isOn, USART_TypeDef *uart1, USART_TypeDef *uart2, uint16_t baudRate1,
|
||||
uint16_t baudRate2);
|
||||
Circular_Buffer<std::string_view> *uart1Buf;
|
||||
Circular_Buffer<std::string_view> *uart2Buf;
|
||||
Circular_Buffer<std::string_view> uart1Buf;
|
||||
Circular_Buffer<std::string_view> uart2Buf;
|
||||
bool isTurnOn() const;
|
||||
void setTurnOn(bool isTurnOn);
|
||||
volatile uint8_t dataFromUart1[BUF_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user