LUA to read if USB is connected or not. #3891

This commit is contained in:
rusefillc 2022-02-04 16:42:01 -05:00
parent 02a0b1c649
commit 8bac652a92
1 changed files with 1 additions and 0 deletions

View File

@ -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