@ -14,8 +14,6 @@ CFLAGS += -Wall -Wextra -Wshadow
CFLAGS += -Wwrite-strings -Wold-style-definition -Winline
CFLAGS += -Wredundant-decls -Wfloat-equal -Wsign-compare -Wunused-function
# gcc bug?
CFLAGS += -Wno-missing-braces
all: $(SRC) $(HDRS)
gcc $(CFLAGS) $(SRC) -o main.elf
@ -123,5 +123,5 @@ const SCPI_command_t scpi_commands[] = {
.levels = {"USeRERRor"},
.callback = cmd_USRERR_cb
},
{0} // end marker
{/*END*/}
};
@ -476,7 +476,7 @@ const SCPI_command_t scpi_commands_builtin[] = {
.callback = builtin_STAT_PRES
@ -57,6 +57,7 @@ typedef struct {
void (*blob_callback)(const uint8_t *bytes);
} SCPI_command_t;
// ---------------- USER CONFIG ----------------
// Zero terminated command struct array - must be defined.