// clear ALL of BigBuf
void BigBuf_Clear(void)
+{
+ BigBuf_Clear_ext(true);
+}
+// clear ALL of BigBuf
+void BigBuf_Clear_ext(bool verbose)
{
memset(BigBuf,0,BIGBUF_SIZE);
+ if (verbose)
Dbprintf("Buffer cleared (%i bytes)",BIGBUF_SIZE);
}
traceLen += iLen;
// parity bytes
- if (iLen != 0) {
+ if (num_paritybytes != 0) {
if (parity != NULL) {
memcpy(trace + traceLen, parity, num_paritybytes);
} else {