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

[rtl872x] remove the delay in UART flush() #2686

Merged
merged 1 commit into from Aug 29, 2023
Merged

Conversation

XuGuohui
Copy link
Member

@XuGuohui XuGuohui commented Aug 16, 2023

Problem

The delay in UART flush() may cause user app fail to synchronize with the peer UART device.

The delay actinng as a hacky workaround was introduced in this PR2586: #2586 and may be potentially fixed by another PR2581: #2581

Solution

Remove the delay.

Steps to Test

Re-run the test app that is shown in the PR2586 and it turned out to be working fine after removing the delay, i.e. device can enter sleep as expected and it doesn't leak power in sleep mode.

References

N/A


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@XuGuohui XuGuohui added this to the 5.5.0 milestone Aug 16, 2023
@technobly technobly merged commit 9084e47 into develop Aug 29, 2023
13 checks passed
@technobly technobly deleted the fix/rtl872x_uart_flush branch August 29, 2023 18:02
@technobly technobly changed the title [rtl872x] remove the delay in UART flush(). [rtl872x] remove the delay in UART flush() Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants