Skip to content

Commit

Permalink
Add dmxInput.isConnected()
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Feb 21, 2025
1 parent df55650 commit e9d07d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wled00/dmx_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class DMXInput
void disable();
void enable();

/// True if dmx is currently connected
bool isConnected() const { return connected; }

private:
/// @return true if rdm identify is active
bool isIdentifyOn() const;
Expand Down

0 comments on commit e9d07d6

Please sign in to comment.