add warning if subscribe fails
This commit is contained in:
parent
81f1314ded
commit
ba0cf27aa2
|
@ -208,6 +208,8 @@ void setup() {
|
|||
if (e131->subscribe(config::settings.strobe_universe)) {
|
||||
e131->universe(config::settings.strobe_universe)->onData(std::bind(&EspStrobe::recvData,
|
||||
strobe, std::placeholders::_1));
|
||||
} else {
|
||||
ESP_LOGW(TAG, "Failed to subscribe to universe: %u", config::settings.strobe_universe);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue