Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix adafruit_irremote.GenericDecode's decode() method to return decoded result #51

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

lstein
Copy link
Contributor

@lstein lstein commented Feb 16, 2022

Fix the decode_bits() method in the object wrapper to return the IRMessage returned by the decode_bits() function. Otherwise decoder.decode_bits() was returning None.

Fixes #47
Fixes #52
Fixes #48

Fix the decode_bits() method in the object wrapper to return the IRMessage returned by the decode_bits() function. Otherwise decoder.decode_bits() is returning None.
…. Brings patch into compliance with published API.
@lstein lstein closed this Feb 16, 2022
@lstein
Copy link
Contributor Author

lstein commented Feb 16, 2022

Closing this pull request because it was not quite right. The next pull request will bring the code into compliance with the readthedocs API.

@lstein lstein reopened this Feb 16, 2022
@lstein
Copy link
Contributor Author

lstein commented Feb 16, 2022

Fix the decode_bits() method in the object wrapper to return the IRMessage returned by the decode_bits() function. Otherwise decoder.decode_bits() was returning None.

Fixes #47, and brings the decode_bits() method into compliance with the published API in readdocs.

@tekktrik tekktrik requested a review from a team February 17, 2022 17:09
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix!! I was just debugging this as https://github.com/adafruit/circuitpython/issues/5311, and you fixed it. Tested.

@dhalbert dhalbert merged commit 9771c93 into adafruit:main Feb 18, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Feb 18, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_AHTx0 to 1.0.10 from 1.0.9:
  > Fixed readthedocs build
  > Merge pull request adafruit/Adafruit_CircuitPython_AHTx0#11 from tammymakesthings/issue9-add-type-annotations
  > Consolidate Documentation sections of README

Updating https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx to 1.2.11 from 1.2.10:
  > Fixed readthedocs build
  > Merge pull request adafruit/Adafruit_CircuitPython_AMG88xx#35 from tammymakesthings/issue32-add-type-annotations
  > Consolidate Documentation sections of README

Updating https://github.com/adafruit/Adafruit_CircuitPython_AS7341 to 1.2.5 from 1.2.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_AS7341#27 from tekktrik/doc/reveal-gain-class
  > Merge pull request adafruit/Adafruit_CircuitPython_AS7341#25 from tammymakesthings/update-requirements-for-typing

Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO08X_RVC to 1.0.8 from 1.0.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x_RVC#5 from tekktrik/doc/add-typing
  > Fixed readthedocs build
  > Consolidate Documentation sections of README

Updating https://github.com/adafruit/Adafruit_CircuitPython_IRRemote to 4.1.3 from 4.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_IRRemote#51 from lstein/decode-bug-fix
  > Fixed readthedocs build
  > Consolidate Documentation sections of README

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE_Radio to 0.5.1 from 0.5.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE_Radio#22 from infamy/patch-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants