Merge pull request #405 from rusefi/dead-field

fields seem unused code comment
This commit is contained in:
Will Hedgecock 2022-05-16 09:45:33 -05:00 committed by GitHub
commit 8d45e7bc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -600,6 +600,7 @@ public final class SerialPort
private volatile SerialPortDataListener userDataListener = null;
private volatile SerialPortEventListener serialEventListener = null;
private volatile String comPort, friendlyName, portDescription, portLocation;
// many of the fields here are accessed by C code
private volatile boolean eventListenerRunning = false, disableConfig = false, disableExclusiveLock = false;
private volatile boolean rs485Mode = false, rs485ActiveHigh = true, rs485RxDuringTx = false, rs485EnableTermination = false;
private volatile boolean isRtsEnabled = true, isDtrEnabled = true, autoFlushIOBuffers = false, requestElevatedPermissions = false;