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

samples: peripheral_uart: Fix hard-coded timeout value #12454

Closed
wants to merge 1 commit into from

Commits on Oct 4, 2023

  1. samples: peripheral_uart: Fix hard-coded timeout value

    Calls to uart_rx_enable() require a timeout argument, for which
    UART_WAIT_FOR_RX is used in 2 of 3 calls in this application.
    
    The initial init call, however, uses a hardcoded value of 50
    (milliseconds) instead of UART_WAIT_FOR_RX which is clearly an
    oversight.
    
    Signed-off-by: Michael Hunold <[email protected]>
    pideu-mh committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    9a43315 View commit details
    Browse the repository at this point in the history