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

This commit is contained in:
Andre Puschmann 2019-06-26 15:51:09 +02:00
parent 34d2eb761f
commit bb836488ef
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ void mux::setup_lcid(const logical_channel_config_t& config)
}
// warn user if there is another LCID with same prio
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);
}
}