sensor: dht: return error if channel not supported
The driver would return the temperature for all channels requested
except relative humidity. Instead, ENOTSUP should be returned for
unsupported channels.
Signed-off-by:
Josep Puigdemont <josep.puigdemont@gmail.com>
Loading
Please sign in to comment