Keep baud rate after connection

This commit is contained in:
Edward Firmo
2023-11-30 20:02:58 +01:00
parent 98187fe4a4
commit cc10cfe0c5
3 changed files with 12 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ Text tft_version
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : TFT: v2023.11.0
Text : TFT: v2023.11.2
Max. Text Size : 20
Events
@@ -189,6 +189,8 @@ Timer tm_esphome
Events
Timer Event
if(framework.txt=="")
{
if(baud==115200)
{
bauds=921600
@@ -198,6 +200,10 @@ Timer tm_esphome
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"
}else
{
tm_esphome.en=0
}
Timer tm_pageid
Attributes