Minor change.
--- 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;
--- 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;
}