cppcheck fixes
This commit is contained in:
1 parent
edb5f18b3a
commit
05576ba06b
10 files changed
+34
-54
No files matched your search
@@ -36,9 +36,8 @@ int g_DemodClock = 0;
|
||||
|
||||
static int CmdHelp(const char *Cmd);
|
||||
|
||||
//set the g_DemodBuffer with given array ofq binary (one bit per byte)
|
||||
//by marshmellow
|
||||
void setDemodBuff(uint8_t *buff, size_t size, size_t start_idx) {
|
||||
// set the g_DemodBuffer with given array ofq binary (one bit per byte)
|
||||
void setDemodBuff(const uint8_t *buff, size_t size, size_t start_idx) {
|
||||
if (buff == NULL) return;
|
||||
|
||||
if (size > MAX_DEMOD_BUF_LEN - start_idx)
|
||||
|
||||
Reference in new issue
Block a user