mux: do not print priority info if the LC config is only updated

master
Andre Puschmann 5 years ago
parent 34d2eb761f
commit bb836488ef

@ -107,7 +107,7 @@ void mux::setup_lcid(const logical_channel_config_t& config)
} }
// warn user if there is another LCID with same prio // warn user if there is another LCID with same prio
for (auto& channel : logical_channels) { for (auto& channel : logical_channels) {
if (channel.priority == config.priority) { if (channel.priority == config.priority && channel.lcid != config.lcid) {
log_h->warning("LCID %d and %d have same priority.\n", channel.lcid, config.lcid); log_h->warning("LCID %d and %d have same priority.\n", channel.lcid, config.lcid);
} }
} }

Loading…
Cancel
Save