From 8bac652a927ce82dc62e0a62b3a6ae27d4063414 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 4 Feb 2022 16:42:01 -0500 Subject: [PATCH] LUA to read if USB is connected or not. #3891 --- firmware/console/binary/output_channels.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index dac65b8bd6..45e188d334 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -283,6 +283,7 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 0, 0 ! we have some unused bytes to allow compatible TS changes float autoscale calibrationValue2;;"", 1, 0, 0, 0, 0 bit isMainRelayOn; + bit isUsbConnected;Original reason for this is to check if USB is connected from Lua uint8_t[88 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0