Fix decode connected x robotservice

This commit is contained in:
Samuele Locatelli
2021-09-30 08:38:45 +02:00
parent f473f22b02
commit 1aa1fb8474
+5 -1
View File
@@ -88,7 +88,11 @@ namespace IOB_WIN_NEXT
// bit 0 (poweron) imposto a 1 SE connected...
if (currPLC.IsConnected)
{
byteSignals += (1 << 0);
byteSignals |= (1 << 0);
}
else
{
byteSignals &= ~(1 << 0);
}
// salvo!