Skip to content
Commit 3cf830bd authored by Juha Niskanen's avatar Juha Niskanen Committed by Gregory Nutt
Browse files

Merged in juniskane/nuttx_stm32l4/1wire_sht21_changes_pr (pull request #631)



drivers/1wire: add PM hooks and unlink support to sht21 sensor (allowing hot-swappable I2C bus from 1-wire converter)

* drivers/1wire: add PM hook to 1wire bus

* drivers/1wire/ds28e17.c: i2c instance must be zeroed

* drivers/sht21: add unlink support

    Unlike most other unlink implementations in NuttX drivers, this one
    does not allow any I2C operations after unlink, making it possible to
    deallocate the I2C bus.

Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
parent d24ce35e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment