<p></p>
<p><b>@quangphhr</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15383#discussion_r518693671">drivers/hsc/hsc.c</a>:</p>
<pre style='color:#555'>> +#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};
</pre>
<p>I2C_DEVNUM will be used in other function for parallel access. I remove for now for lighter operation.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/15383#discussion_r518693671">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFH6Y4HA6QLPOS52YDSOPNB5ANCNFSM4TKFIHDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYHWVVD7RVPVQ2GLF4TSOPNB5A5CNFSM4TKFIHD2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD5F7RRY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/15383#discussion_r518693671",
"url": "https://github.com/RIOT-OS/RIOT/pull/15383#discussion_r518693671",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>