Skip to content

Commit e9d07d6

Browse files
committed
Add dmxInput.isConnected()
1 parent df55650 commit e9d07d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wled00/dmx_input.h

+3
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)