Skip to content

Commit

Permalink
sent_constants.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Nov 22, 2024
1 parent 5ead19d commit 8205126
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions SENT-box/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ ASMXSRC = $(ALLXASMSRC)
# Inclusion directories.
INCDIR = $(CONFDIR) $(ALLINC) \
io \
../../ext/libfirmware/sent/include \
../../ext/libfirmware/stm32-util

# Define C warning options here.
Expand Down
4 changes: 1 addition & 3 deletions SENT-box/firmware/sent_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@
#define SENT_CHANNELS_NUM 4 // Number of sent channels
#endif

#define SENT_MSG_DATA_SIZE 6
/* Status + two 12-bit signals + CRC */
#define SENT_MSG_PAYLOAD_SIZE (1 + SENT_MSG_DATA_SIZE + 1) // Size of payload
#include "sent_constants.h"
2 changes: 1 addition & 1 deletion ext/libfirmware

0 comments on commit 8205126

Please sign in to comment.