[riot-notifications] [RIOT-OS/RIOT] Driver for Honeywell HSC series pressure and temperature sensor (#15383)

Hopel.ess notifications at github.com
Fri Nov 6 12:31:42 CET 2020

@quangphhr commented on this pull request.

> +#define DEV_I2C      (dev->params.i2c_dev)
+#define DEV_ADDR     (dev->params.i2c_addr)
+// Internal function prototypes
+// Reading raw (bit) value.  For faster reading, can be removed
+static int _read_ut(const hsc_t *dev, int32_t *ut);
+static int _read_up(const hsc_t *dev, int32_t *up);
+ *                          HSC Core API                                     *
+ *---------------------------------------------------------------------------*/
+int hsc_init(hsc_t *dev, const hsc_params_t *params)
+    dev->params = *params;
+    uint8_t buf[HSC_FULL_DATA_LENGTH*I2C_DEVNUM] = {0};

I2C_DEVNUM will be used in other function for parallel access. I remove for now for lighter operation.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201106/7cb1c0ab/attachment-0001.htm>

More information about the notifications mailing list