This commit is contained in:
Philippe Teuwen committed 2019-04-11 00:10:21 +02:00
1 parent 6416de1a38
commit 35e97ba96a
16 files changed
+31 -27

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ static int CmdHelp(const char *Cmd);
// by marshmellow
// find Securakey preamble in already demoded data
int detectSecurakey(uint8_t *dest, size_t *size) {
static int detectSecurakey(uint8_t *dest, size_t *size) {
if (*size < 96) return -1; //make sure buffer has data
size_t startIdx = 0;
uint8_t preamble[] = {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1};