Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor driver: sht4x, sgp40, invalid include path #37454

Closed
DominusFulguris opened this issue Aug 5, 2021 · 1 comment
Closed

Sensor driver: sht4x, sgp40, invalid include path #37454

DominusFulguris opened this issue Aug 5, 2021 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@DominusFulguris
Copy link

The driver source file, "sht4x.c", attempts to include the header file "sht4x.h" twice with the first occurrence from an apparently invalid path:

(Line 18)
#include <drivers/sensor/sht4x.h>

The same thing seems to be true for the sgp40 driver.

The shgp40_sht4x sample application also references this invalid path.

@DominusFulguris DominusFulguris added the bug The issue is a bug, or the PR is fixing a bug label Aug 5, 2021
@gmarull
Copy link
Member

gmarull commented Aug 5, 2021

The file exists in <REPO_ROOT>/include/drivers/sensor/sht4x.h. Sample also builds fine: west build -b blackpill_f411ce samples/sensor/sgp40_sht4x. Closing as this doesn't seem to be a bug.

@gmarull gmarull closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants