hts221_reader_main.c: Fix the start IOCTL.
SNIOC_START is not handled by the hts221 driver. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
6285990a5c
commit
33475cbff6
@ -55,7 +55,7 @@ int main(int argc, FAR char *argv[])
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
ret = ioctl(fileno(sensor), SNIOC_START, 0);
|
||||
ret = ioctl(fileno(sensor), SNIOC_START_CONVERSION, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("IOCTL SNIOC_START failed %d\n", ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user