# HG changeset patch # User Florian Pose # Date 1273138885 -7200 # Node ID 2917b262554b43c99f1cffaf0829c168ed3814b1 # Parent 712d04506f12adc8a0c2e0ee2d941912f2845e5b Minor change. diff -r 712d04506f12 -r 2917b262554b master/fsm_slave_scan.c --- a/master/fsm_slave_scan.c Thu May 06 11:39:29 2010 +0200 +++ b/master/fsm_slave_scan.c Thu May 06 11:41:25 2010 +0200 @@ -682,9 +682,8 @@ 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; diff -r 712d04506f12 -r 2917b262554b master/slave.c --- a/master/slave.c Thu May 06 11:39:29 2010 +0200 +++ b/master/slave.c Thu May 06 11:41:25 2010 +0200 @@ -581,8 +581,7 @@ 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; }