mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-02 05:06:51 +01:00
remove test from bprev (add nextion2text)
This commit is contained in:
@@ -1235,14 +1235,7 @@ Button bPrev
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardEntities,"
|
||||
if(bPrev.isbr==1)
|
||||
{
|
||||
tSend.txt+="bBack"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bPrev"
|
||||
}
|
||||
tSend.txt="event,buttonPress2,cardEntities,bPrev"
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
|
||||
Reference in New Issue
Block a user