您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

parser.cpp 308B

1234567891011121314
  1. #include "parser.h"
  2. #include "leonardo_led.h"
  3. #include "debug.h"
  4. void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
  5. {
  6. LED_TX_TOGGLE;
  7. debug("KBDReport: ");
  8. for (uint8_t i = 0; i < len; i++) {
  9. debug_hex(buf[i]);
  10. debug(" ");
  11. }
  12. debug("\r\n");
  13. }