Skip to content

Commit 7c23872

Browse files
committed
Add dmxInput.isConnected()
1 parent 507938b commit 7c23872

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wled00/dmx_input.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class DMXInput
1919
void disable();
2020
void enable();
2121

22+
/// True if dmx is currently connected
23+
bool isConnected() const { return connected; }
24+
2225
private:
2326
/// @return true if rdm identify is active
2427
bool isIdentifyOn() const;

0 commit comments

Comments
 (0)