Keep baud rate after connection
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -88,7 +88,7 @@ Text tft_version
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard: none
|
Associated Keyboard: none
|
||||||
Text : TFT: v2023.11.0
|
Text : TFT: v2023.11.2
|
||||||
Max. Text Size : 20
|
Max. Text Size : 20
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -189,6 +189,8 @@ Timer tm_esphome
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Timer Event
|
Timer Event
|
||||||
|
if(framework.txt=="")
|
||||||
|
{
|
||||||
if(baud==115200)
|
if(baud==115200)
|
||||||
{
|
{
|
||||||
bauds=921600
|
bauds=921600
|
||||||
@@ -198,6 +200,10 @@ Timer tm_esphome
|
|||||||
}
|
}
|
||||||
covx baud,baud_rate.txt,0,0
|
covx baud,baud_rate.txt,0,0
|
||||||
baud_rate.txt+=" bps"
|
baud_rate.txt+=" bps"
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
tm_esphome.en=0
|
||||||
|
}
|
||||||
|
|
||||||
Timer tm_pageid
|
Timer tm_pageid
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
Reference in New Issue
Block a user