diff options
Diffstat (limited to 'src/interface/interface.c')
-rw-r--r-- | src/interface/interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interface/interface.c b/src/interface/interface.c index 048f9cbe..31c40f32 100644 --- a/src/interface/interface.c +++ b/src/interface/interface.c @@ -38,7 +38,7 @@ extern struct jtag_interface *jtag_interface; * \return pointer to signal structure in memory if found, NULL otherwise. */ oocd_interface_signal_t *oocd_interface_signal_find(char *name){ - LOG_DEBUG("Searching for signal \"%s\"", name); + //LOG_DEBUG("Searching for interface signal \"%s\"", name); // Check if interface already exists if (!jtag_interface){ LOG_ERROR("Interface does not yet exist!"); @@ -51,7 +51,7 @@ oocd_interface_signal_t *oocd_interface_signal_find(char *name){ } // Check if signal name is correct if (!name || strncmp(name, " ", 1)==0){ - LOG_ERROR("Signal name cannot be empty."); + LOG_ERROR("Interface signal name cannot be empty."); return NULL; } // Check if signal name already exist @@ -59,13 +59,13 @@ oocd_interface_signal_t *oocd_interface_signal_find(char *name){ sig=jtag_interface->signal; while (sig) { if (!strncasecmp(sig->name, name, 32)){ - LOG_DEBUG("Signal %s already exists.", sig->name); + LOG_DEBUG("Interface signal %s found.", sig->name); return sig; } sig=sig->next; } // If signal is not found return null pointer. - LOG_DEBUG("Signal %s not (yet) defined.", name); + LOG_WARNING("Interface signal %s not found.", name); return NULL; } /** Add new signal to the interface. |