Minor change.

This commit is contained in:
Florian Pose 2010-05-06 11:41:25 +02:00
parent cf105593d2
commit a05a56429a
2 changed files with 3 additions and 5 deletions

View File

@ -682,9 +682,8 @@ void ec_fsm_slave_scan_state_sii_data(ec_fsm_slave_scan_t *fsm /**< slave state
goto end;
break;
default:
if (fsm->slave->master->debug_level)
EC_SLAVE_WARN(slave, "Unknown category type 0x%04X.\n",
cat_type);
EC_SLAVE_DBG(slave, 1, "Unknown category type 0x%04X.\n",
cat_type);
}
cat_word += cat_size;

View File

@ -581,8 +581,7 @@ char *ec_slave_sii_string(
return NULL;
if (index >= slave->sii.string_count) {
if (slave->master->debug_level)
EC_SLAVE_WARN(slave, "String %u not found.\n", index);
EC_SLAVE_DBG(slave, 1, "String %u not found.\n", index);
return NULL;
}