From b25c7d2f3c674a430e5aa25e74b229475521ef88 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Mon, 3 Feb 2014 23:11:44 +0100 Subject: [PATCH] Made it easy to disable printing incoming data in hiduniversal --- hiduniversal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiduniversal.cpp b/hiduniversal.cpp index 4e866cb2..a2b4dc2e 100644 --- a/hiduniversal.cpp +++ b/hiduniversal.cpp @@ -381,14 +381,14 @@ uint8_t HIDUniversal::Poll() { if(identical) return 0; - +#if 1 Notify(PSTR("\r\nBuf: "), 0x80); for(uint8_t i = 0; i < read; i++) D_PrintHex (buf[i], 0x80); Notify(PSTR("\r\n"), 0x80); - +#endif ParseHIDData(this, bHasReportId, (uint8_t)read, buf); HIDReportParser *prs = GetReportParser(((bHasReportId) ? *buf : 0));