master/master.c
changeset 1024 fef0b1953770
parent 1023 7b8961141042
child 1028 afdd4bdbb7ec
equal deleted inserted replaced
1023:7b8961141042 1024:fef0b1953770
  1317             found = 1;
  1317             found = 1;
  1318             break;
  1318             break;
  1319         }
  1319         }
  1320     }
  1320     }
  1321 
  1321 
  1322     if (found) {
  1322     if (found) { // config with same alias/position already existing
  1323         if (master->debug_level) {
  1323         if (master->debug_level) {
  1324             EC_INFO("Using existing slave configuration for %u:%u\n",
  1324             EC_INFO("Using existing slave configuration for %u:%u\n",
  1325                     alias, position);
  1325                     alias, position);
  1326         }
  1326         }
  1327         if (sc->vendor_id != vendor_id || sc->product_code != product_code) {
  1327         if (sc->vendor_id != vendor_id || sc->product_code != product_code) {