Centralise the Sync addition methods.

This commit is contained in:
Jonathan Naylor
2016-02-15 21:46:57 +00:00
parent 8e2e38e88c
commit 4e5bea9111
4 changed files with 26 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
const unsigned int YSF_FRAME_LENGTH_BYTES = 120U;
const unsigned char YSF_SYNC_BYTES[] = {0xD4U, 0x71U, 0xC9U, 0x63U, 0x4DU};
const unsigned int YSF_SYNC_LENGTH_BYTES = 5U;
const unsigned char YSF_FI_MASK = 0xC0U;
const unsigned char YSF_DT_MASK = 0x30U;