Skip to content
Commit 331572b3 authored by Holger Schurig's avatar Holger Schurig Committed by Carles Cufí
Browse files

drivers: sensors: fix DRDY usage



hts221_trigger.c is pulled in by the CMakeLists.txt file when
CONFIG_HTS221_TRIGGER is defined. Therefore make the source in hts221.c use
the some define.

This removes also the (wrong) warning

    <inf> HTS221: Cannot enable trigger without drdy-gpios

even when "drdy-gpios" is defined in the device-tree.

Signed-off-by: default avatarHolger Schurig <holgerschurig@gmail.com>
parent abc89c49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment