Remove unused debug functionality
| | |
| | | STATICLIB = lib$(LIBNAME).a |
| | | |
| | | SRCS = $(addprefix src/, \ |
| | | debug.c error.c fifo.c ieee488.c \ |
| | | error.c fifo.c ieee488.c \ |
| | | minimal.c parser.c units.c utils.c \ |
| | | lexer.c \ |
| | | ) |
| | |
| | | OBJS = $(addprefix $(OBJDIR)/, $(notdir $(SRCS:.c=.o))) |
| | | |
| | | HDRS = $(addprefix inc/scpi/, \ |
| | | scpi.h constants.h debug.h error.h \ |
| | | scpi.h constants.h error.h \ |
| | | ieee488.h minimal.h parser.h types.h units.h \ |
| | | ) \ |
| | | $(addprefix src/, \ |
| | |
| | | #include "scpi/error.h" |
| | | #include "scpi/constants.h" |
| | | #include "scpi/utils.h" |
| | | #include "scpi/debug.h" |
| | | |
| | | /** |
| | | * Write data to SCPI output |
| | |
| | | context->output_count = 0; |
| | | context->input_count = 0; |
| | | |
| | | SCPI_DEBUG_COMMAND(context); |
| | | /* if callback exists - call command callback */ |
| | | if (cmd->callback != NULL) { |
| | | if ((cmd->callback(context) != SCPI_RES_OK) && !context->cmd_error) { |