16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 00:09:18 +02:00

(uart) add possibility to enable/disable UART transmission from Debug panel

This commit is contained in:
Marcin Nowak
2021-10-16 16:56:28 +02:00
parent a0153b1d7b
commit 3f308cf812
3 changed files with 38 additions and 13 deletions

3
uart.h
View File

@@ -5,6 +5,9 @@
class UartStatus {
public:
std::string port_name = "";
int baud = 0;
bool enabled = false;
bool is_connected = false;
bool is_synced = false;
unsigned long packets_sent = 0;