mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8
Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8 (#6320)
This commit is contained in:
parent
b363bb55a9
commit
0c762f7c2a
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "TasmotaSerial",
|
||||
"version": "2.3.2",
|
||||
"version": "2.3.3",
|
||||
"keywords": [
|
||||
"serial", "io", "TasmotaSerial"
|
||||
],
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=TasmotaSerial
|
||||
version=2.3.2
|
||||
version=2.3.3
|
||||
author=Theo Arends
|
||||
maintainer=Theo Arends <theo@arends.com>
|
||||
sentence=Implementation of software serial with hardware serial fallback for ESP8266.
|
||||
|
@ -83,6 +83,7 @@ TasmotaSerial::TasmotaSerial(int receive_pin, int transmit_pin, int hardware_fal
|
||||
m_hardswap = false;
|
||||
m_stop_bits = 1;
|
||||
m_nwmode = nwmode;
|
||||
serial_buffer_size = buffer_size;
|
||||
if (!((isValidGPIOpin(receive_pin)) && (isValidGPIOpin(transmit_pin) || transmit_pin == 16))) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user