summaryrefslogtreecommitdiff
path: root/src/interface/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/interface.c')
-rw-r--r--src/interface/interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interface/interface.c b/src/interface/interface.c
index e19bbc5b..1c65a8fe 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -43,9 +43,9 @@ oocd_interface_signal_t *oocd_interface_signal_find(char *name){
LOG_ERROR("Interface does not yet exist!");
return NULL;
}
- // Check if interface signal to work on already exists
+ // Check if interface signal to already exists
if (!jtag_interface->signal){
- LOG_WARNING("There are no signals defined yet.");
+ LOG_DEBUG("No interface signals defined.");
return NULL;
}
// Check if signal name is correct
@@ -64,7 +64,7 @@ oocd_interface_signal_t *oocd_interface_signal_find(char *name){
sig=sig->next;
}
// If signal is not found return null pointer.
- LOG_DEBUG("Signal %s not (yet) on the list.", name);
+ LOG_DEBUG("Signal %s not defined.", name);
return NULL;
}
/** Add new signal to the interface.
@@ -160,7 +160,7 @@ int oocd_interface_signal_del(char *name){
}
// Check if interface any signal exist
if (!jtag_interface->signal){
- LOG_DEBUG("There are no signals defined yet.");
+ LOG_ERROR("Signal list is empty!");
return ERROR_FAIL;
}