bugfix
CI / build-and-test (push) Successful in 41s

This commit is contained in:
2026-06-11 09:40:49 +02:00
parent 2ac03fbc9d
commit e6bb551862
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ def readAscii(connexion_client : socket):
if len(message) != 58 :
## At index 22, we have the ASCII outlet number
outlet_index = ord(message[22]) - ord('1')
if (outlet_index < 1 or outlet_index > 8): ## if garbage, we return earlier
if (outlet_index < 0 or outlet_index > 7): ## if garbage, we return earlier
return
match message[25]:
-2
View File
@@ -13,8 +13,6 @@ export EPOWERSWITCH_SOCKET_NUMBER=8
export HOST_NAME="localhost"
export HOST_PORT="55555"
whereis procServ
/usr/local/bin/procServ -L - -f -i ^D^C 20001 "${PWD}/st.cmd"