fix: 'hf snoop' - buffer overflow (@satuoni)

This commit is contained in:
iceman1001 2017-10-08 14:56:04 +02:00
commit 674db8d5ac
3 changed files with 12 additions and 8 deletions

View file

@ -124,7 +124,10 @@ uint16_t BigBuf_max_traceLen(void)
void clear_trace() {
traceLen = 0;
}
void set_tracelen(uint16_t tl)
{
traceLen=tl;
}
void set_tracing(bool enable) {
tracing = enable;
}