Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/firmware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ objects := $(addprefix $(out_dir)/,$(c_sources:%.c=%.o) $(cpp_sources:%.cpp=%.o)

CFLAGS += -DFIRMWARE_VERSION=\"$(FIRMWARE_VERSION)\"
CFLAGS += -DBUILD_PROFILE=\"$(PROFILE)\"
CFLAGS += -std=c11
LFLAGS = $(LFLAGS.$(ARCH))

all: $(build_dir)/$(program_name).hex
Expand Down
2 changes: 1 addition & 1 deletion src/sequencer.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ typedef struct
#define GET_STEP_GATE(x) (GATE_MASK & (x))
#define SET_STEP_GATE(x, value) ((x) = (RATCHET_MASK & (x)) | (value))

STATIC_ASSERT(sizeof(step_t) == 8, step_t_is_wrong_size);
_Static_assert(sizeof(step_t) == 8, "step_t is wrong size");

typedef struct
{
Expand Down