circuitpython/shared-module/usb_hid
Maxim Kulkin aab5fac67b shared-module/usb_hid: Fix behavior of Device.get_last_received_report()
Documentation states that get_last_received_report() function should
return None if there was no report received previously, otherwise it
should return report. Moreover, same report should be returned only
once. That makes it possible to reliably process incoming OUT/Feature
reports.

This patch adds an array that stores flags if report with particular
ID was received and updates get_last_received_report() to match its
documentation.
2022-08-24 01:34:51 -04:00
..
Device.c shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 01:34:51 -04:00
Device.h shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 01:34:51 -04:00
__init__.c Conditionalize LTO 2022-05-27 12:59:54 -07:00
__init__.h Boot protocol and feature reports: compiles; needs to be tested 2021-10-04 22:48:18 -04:00