From 737b6c369dd0f52fe593535eed3532e1121a1b47 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Tue, 29 Nov 2022 17:19:09 +0100 Subject: [PATCH] Update autoexec-oldstable.be --- tasmota/autoexec-oldstable.be | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasmota/autoexec-oldstable.be b/tasmota/autoexec-oldstable.be index a1886d95..0c157430 100644 --- a/tasmota/autoexec-oldstable.be +++ b/tasmota/autoexec-oldstable.be @@ -303,14 +303,6 @@ class Nextion : Driver end - def version_number(str) - import string - var i1 = string.find(str,".",0) - var i2 = string.find(str,".",i1+1) - var num = int(str[0..i1-1])*10000+int(str[i1+1..i2-1])*100+int(str[i2+1..]) - return num - end - def init() log("NXP: Initializing Driver") self.ser = serial(17, 16, 115200, serial.SERIAL_8N1)