Go to file
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
.github
LICENSES
data
devices/ble_hci
docs Add examples of non-applicable cases and SPI link 2022-08-11 11:01:16 -07:00
examples
extmod Pull in a fix for ulab on REPR_A builds (some broadcom builds) 2022-07-07 17:16:48 -05:00
frozen Bump circuitpython-stage to 1.3.5 2022-08-10 19:55:00 +02:00
lib
locale Translated using Weblate (Turkish) 2022-08-14 14:14:55 +02:00
logo
mpy-cross don't specify -sdk in Makefile.m1 for mpy-cross 2022-07-27 22:51:14 -04:00
ports Merge pull request #6758 from gamblor21/rp2040_i2ctarget 2022-08-15 13:57:49 -07:00
py Merge pull request #6754 from jepler/check-read-utf8 2022-08-15 13:48:43 -07:00
shared Add exception filename to title bar 2022-08-08 13:52:05 -07:00
shared-bindings Merge pull request #6741 from tannewt/remove_pulseout_pwm_param 2022-08-11 09:26:51 -04:00
shared-module shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 01:34:51 -04:00
supervisor Merge branch 'main' into c3_short_send 2022-08-11 12:45:02 -07:00
tests Merge pull request #6754 from jepler/check-read-utf8 2022-08-15 13:48:43 -07:00
tools Merge remote-tracking branch 'adafruit/main' into design_guide_update 2022-08-11 10:52:06 -07:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.mailmap
.pre-commit-config.yaml
.readthedocs.yml
.rosie.yml
ACKNOWLEDGEMENTS
ACKNOWLEDGEMENTS.license
BUILDING.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
Makefile
README.rst
README.rst-stubs
WEBUSB_README.md
conf.py further doc build fixes 2022-08-04 15:12:05 -05:00
license.rst
main.c Don't reload or enter repl when autoreloading 2022-08-11 12:23:25 -07:00
requirements-ci.txt
requirements-dev.txt
requirements-doc.txt
runtime.py
setup.py-stubs

README.rst-stubs

CircuitPython
=============

.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png

|Build Status| |Doc Status| |License| |Discord| |Weblate|

`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
`Project Structure <#project-structure>`__

**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
computers called microcontrollers.

This package contains the "stubs", or type definitions for CircuitPython.  With some advanced
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
problems before you deploy your code to a device and can even help autocomplete your code.

.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
   :target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
   :target: http://circuitpython.readthedocs.io/
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
   :target: https://adafru.it/discord
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
   :target: https://choosealicense.com/licenses/mit/
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
   :target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget