You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/12/04 17:34:31 UTC
[incubator-nuttx] 01/02: include/nuttx/sensors/hts221.h: Forward
reference i2c_master to avoid any warning.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 4eb2b32310e405ed425fdc0f42cc7668d43a01a8
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Fri Dec 4 16:44:58 2020 +0000
include/nuttx/sensors/hts221.h: Forward reference i2c_master to avoid
any warning.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
include/nuttx/sensors/hts221.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/nuttx/sensors/hts221.h b/include/nuttx/sensors/hts221.h
index 1b9ddc5..a53c5ce 100644
--- a/include/nuttx/sensors/hts221.h
+++ b/include/nuttx/sensors/hts221.h
@@ -52,6 +52,8 @@
* Public Types
****************************************************************************/
+struct i2c_master_s; /* Forward reference */
+
/* Number of temperature samples */
typedef enum hts221_avrg_temp_e