mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 06:47:17 +00:00
Send HEX string to mqtt
This commit is contained in:
parent
91edfe91a0
commit
b7b525f3d9
@ -65,7 +65,7 @@ void SerialBridgeInput(void) {
|
||||
while (SerialBridgeSerial->available()) {
|
||||
yield();
|
||||
uint8_t serial_in_byte = SerialBridgeSerial->read();
|
||||
|
||||
serial_bridge_raw = Settings->serial_delimiter == 255;
|
||||
if ((serial_in_byte > 127) && !serial_bridge_raw) { // Discard binary data above 127 if no raw reception allowed
|
||||
serial_bridge_in_byte_counter = 0;
|
||||
SerialBridgeSerial->flush();
|
||||
|
Loading…
x
Reference in New Issue
Block a user