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:30 UTC

[incubator-nuttx] branch master updated (a59062f -> 064de6e)

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from a59062f  xtensa/esp32: Optimize IRAM usage based on esp-idf
     new 4eb2b32  include/nuttx/sensors/hts221.h: Forward reference i2c_master to avoid any warning.
     new 064de6e  include/nuttx/sensors/hts221.h: Fix nxstyle errors.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 include/nuttx/sensors/hts221.h | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)


[incubator-nuttx] 02/02: include/nuttx/sensors/hts221.h: Fix nxstyle errors.

Posted by ac...@apache.org.
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 064de6e140a920ac779c761fc4a60a452a05430b
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Fri Dec 4 16:50:47 2020 +0000

    include/nuttx/sensors/hts221.h: Fix nxstyle errors.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 include/nuttx/sensors/hts221.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/nuttx/sensors/hts221.h b/include/nuttx/sensors/hts221.h
index a53c5ce..2d60412 100644
--- a/include/nuttx/sensors/hts221.h
+++ b/include/nuttx/sensors/hts221.h
@@ -102,16 +102,16 @@ typedef struct hts221_settings_s
   hts221_avrg_humid_t humid_resol;    /* Humidity resolution. The more
                                        * samples sensor takes, the more power
                                        * it uses */
-  hts221_odr_t odr;           /* Output data rate */
-  bool is_bdu;                /* If read operation is not faster than output
-                               * operation, then this variable must be set to true */
-  bool is_data_rdy;           /* Must be set to true, if interrupt needed.
-                               * Default is 0, disabled */
-  bool is_high_edge;          /* High or low interrupt signal from device.
-                               * Default is high, 0 */
-  bool is_open_drain;         /* Open drain or push-pull on data-ready pin.
-                               * Default is push-pull, 0 */
-  bool is_boot;               /* Refresh the content of the internal registers */
+  hts221_odr_t odr;                   /* Output data rate */
+  bool is_bdu;                        /* If read operation is not faster than output
+                                       * operation, then this variable must be set to true */
+  bool is_data_rdy;                   /* Must be set to true, if interrupt needed.
+                                       * Default is 0, disabled */
+  bool is_high_edge;                  /* High or low interrupt signal from device.
+                                       * Default is high, 0 */
+  bool is_open_drain;                 /* Open drain or push-pull on data-ready pin.
+                                       * Default is push-pull, 0 */
+  bool is_boot;                       /* Refresh the content of the internal registers */
 } hts221_settings_t;
 
 /* Interrupt configuration data structure */


[incubator-nuttx] 01/02: include/nuttx/sensors/hts221.h: Forward reference i2c_master to avoid any warning.

Posted by ac...@apache.org.
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