Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public enum ProtocolType {
private final int mPriority;
private final int mBaudRate;
private final ProtocolType mProtocol = ProtocolType.ADA; // Default to ADA
private int mXLed;
private int mYLed;
Comment on lines +36 to +37

Copilot AI Feb 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mXLed/mYLed are only assigned once in the constructor and never reassigned; consider making them final to match the rest of the immutable configuration fields in this client (and e.g. WLEDClient).

Suggested change
private int mXLed;
private int mYLed;
private final int mXLed;
private final int mYLed;

Copilot uses AI. Check for mistakes.

private UsbSerialPort mPort;
private volatile boolean mConnected = false;
Expand Down