mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Made it easy to disable printing incoming data in hiduniversal
This commit is contained in:
parent
7806212132
commit
b25c7d2f3c
1 changed files with 2 additions and 2 deletions
|
@ -381,14 +381,14 @@ uint8_t HIDUniversal::Poll() {
|
||||||
|
|
||||||
if(identical)
|
if(identical)
|
||||||
return 0;
|
return 0;
|
||||||
|
#if 1
|
||||||
Notify(PSTR("\r\nBuf: "), 0x80);
|
Notify(PSTR("\r\nBuf: "), 0x80);
|
||||||
|
|
||||||
for(uint8_t i = 0; i < read; i++)
|
for(uint8_t i = 0; i < read; i++)
|
||||||
D_PrintHex<uint8_t > (buf[i], 0x80);
|
D_PrintHex<uint8_t > (buf[i], 0x80);
|
||||||
|
|
||||||
Notify(PSTR("\r\n"), 0x80);
|
Notify(PSTR("\r\n"), 0x80);
|
||||||
|
#endif
|
||||||
ParseHIDData(this, bHasReportId, (uint8_t)read, buf);
|
ParseHIDData(this, bHasReportId, (uint8_t)read, buf);
|
||||||
|
|
||||||
HIDReportParser *prs = GetReportParser(((bHasReportId) ? *buf : 0));
|
HIDReportParser *prs = GetReportParser(((bHasReportId) ? *buf : 0));
|
||||||
|
|
Loading…
Reference in a new issue