Skip to content

Reset input buffer on init #13

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

Merged
merged 1 commit into from
Aug 15, 2022
Merged

Reset input buffer on init #13

merged 1 commit into from
Aug 15, 2022

Conversation

okennedy
Copy link
Contributor

Reset input buffer on init (closes #12)

If the base system is reset, some extra goop seems to stick around in the uart buffer. Forcing a reset on restart fixes the problem.

Reset input buffer on init (closes adafruit#12)
@tekktrik tekktrik requested a review from a team July 18, 2022 03:01
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

Makes sense, and changes look good to me.

Don't have hardware to test with.

@FoamyGuy
Copy link
Contributor

Thanks for the fix @okennedy

@FoamyGuy FoamyGuy merged commit d6ef8c8 into adafruit:main Aug 15, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 16, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground to 5.2.7 from 5.2.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#120 from dhalbert/no-pwmout-for-pulseout

Updating https://github.com/adafruit/Adafruit_CircuitPython_IRRemote to 4.1.8 from 4.1.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_IRRemote#54 from dhalbert/no-pwmout

Updating https://github.com/adafruit/Adafruit_CircuitPython_MAX31856 to 0.11.0 from 0.10.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31856#20 from eirinnm/selectable_mains_filtering

Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 6.2.6 from 6.2.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#123 from dhalbert/no-auto-brightness

Updating https://github.com/adafruit/Adafruit_CircuitPython_TFmini to 1.2.12 from 1.2.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_TFmini#13 from okennedy/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_NTP to 3.0.4 from 3.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#22 from regulatre/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.14.0 from 1.13.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#78 from colonwq/is_connected

Updating https://github.com/adafruit/Adafruit_CircuitPython_PYOA to 2.5.9 from 2.5.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_PYOA#36 from dhalbert/no-auto-brightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Partial _STARTREPLY response header
2 participants