[riot-notifications] [RIOT-OS/RIOT] drivers/bmx280: add missing _release (#15759)

Bas Stottelaar notifications at github.com
Tue Jan 12 23:51:43 CET 2021


### Contribution description
This PR fixes a bug where the BMx280 driver would not release the mutex on initialization.

### Testing procedure
I noticed this when `i2c_scan` blocked on acquiring the I2C mutex, on a board with `bmx280_i2c`, but without the sensor attached. Nonetheless, the fix is quite obvious.

### Issues/PRs references
None
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15759

-- Commit Summary --

  * drivers/bmx280: add missing _release

-- File Changes --

    M drivers/bmx280/bmx280.c (1)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15759.patch
https://github.com/RIOT-OS/RIOT/pull/15759.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210112/bfd9d408/attachment-0001.htm>


More information about the notifications mailing list