circuitpython/shared-module/usb_hid
Maxim Kulkin 429c7220c2 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 17:49:53 -04:00
..
__init__.c check that boot device is interface #0; remove instrumentation 2021-10-13 12:30:01 -04:00
__init__.h Boot protocol and feature reports: compiles; needs to be tested 2021-10-04 22:48:18 -04:00
Device.c shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 17:49:53 -04:00
Device.h shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 17:49:53 -04:00