Comments (3)
Patch proposal
diff --git a/embedded-common b/embedded-common
index 1ac7c72..f26f6eb 160000
--- a/embedded-common
+++ b/embedded-common
@@ -1 +1 @@
-Subproject commit 1ac7c72c895d230c6f1375865f3b7161ce6b665a
+Subproject commit f26f6ebb34d5cc82794016edf6cad6f5a3bf82f1
diff --git a/sht3x/sht3x.c b/sht3x/sht3x.c
index bcb38cf..9fb8f27 100644
--- a/sht3x/sht3x.c
+++ b/sht3x/sht3x.c
@@ -42,6 +42,7 @@
#include "sensirion_arch_config.h"
#include "sensirion_common.h"
#include "sensirion_i2c.h"
+#include "sensirion_i2c_hal.h"
/* all measurement commands return T (CRC) RH (CRC) */
#if USE_SENSIRION_CLOCK_STRETCHING
diff --git a/sht4x/sht4x.c b/sht4x/sht4x.c
index 18b6567..2c3d5bb 100644
--- a/sht4x/sht4x.c
+++ b/sht4x/sht4x.c
@@ -42,6 +42,7 @@
#include "sensirion_arch_config.h"
#include "sensirion_common.h"
#include "sensirion_i2c.h"
+#include "sensirion_i2c_hal.h"
/* all measurement commands return T (CRC) RH (CRC) */
#define SHT4X_CMD_MEASURE_HPM 0xFD
diff --git a/shtc1/shtc1.c b/shtc1/shtc1.c
index 6f4b8d1..a8714cf 100644
--- a/shtc1/shtc1.c
+++ b/shtc1/shtc1.c
@@ -44,6 +44,7 @@
#include "sensirion_arch_config.h"
#include "sensirion_common.h"
#include "sensirion_i2c.h"
+#include "sensirion_i2c_hal.h"
/* all measurement commands return T (CRC) RH (CRC) */
#if USE_SENSIRION_CLOCK_STRETCHING
from embedded-sht.
I think it was useful for ease of integration. Not sure if the issue was just not seen ?
from embedded-sht.
We closed old inactive issues which didn't seem relevant anymore. But indeed it looks like nobody looked into this before, sorry for that.
Take a look at https://github.com/Sensirion/embedded-common where the HAL is defined. It got restructured quite a bit and I'm not sure if the issue is still applicable. If yes feel free to open an issue there or propose a pull request with the changes.
from embedded-sht.
Related Issues (8)
- Beaglebone Black Adapt to SHT31 temperature and humidity sensor HOT 1
- renamed sht_git_version files have not uploaded HOT 3
- SHT3x Alert Mode HOT 2
- Dual sensor addresses SHT3x not supported HOT 2
- "SHT3X_MEASUREMENT_DURATION_USEC 15000" For Low Repeatability Vs "Typical" Times? HOT 1
- Feature request Raspbery Pi Pico C SDK integration HOT 1
- Laziness in example programs confusing me... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embedded-sht.