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

nrf_drv_twi: remove redundant nrf_drv_disable call in nrf_drv_twi_uninit #7645

Merged
merged 1 commit into from Aug 15, 2018

Commits on Jul 30, 2018

  1. nrf_drv_twi: remove redundant nrf_drv_disable call in nrf_drv_twi_uninit

    i2c_api implementation for NRF52 does a disable() followed by uninit().
    The uniinit() implementation in NRF drivers layer makes another call to
    disable. This throws off the state of the I2C instance leading to an
    assert. Since the disable is only invoked from the I2C API layer for
    Nordic, remove this redundant call.
    
    Signed-off-by: Naveen Kaje <Naveen.Kaje@arm.com>
    Naveen Kaje authored and Naveen Kaje committed Jul 30, 2018
    Copy the full SHA
    db91e7e View commit details
    Browse the repository at this point in the history