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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16678#discussion_r677304220">drivers/lm75/lm75.c</a>:</p>
<pre style='color:#555'>> +#include "lm75_regs.h"
+#include "lm75_params.h"
+#include "log.h"
+#include "kernel_defines.h"
+#include <stdint.h>
+#include <byteorder.h>
+#include "xtimer.h"
+
+#define I2C_BUS             dev->lm75_params.i2c_bus
+#define I2C_ADDR            dev->lm75_params.i2c_addr
+
+
+int lm75_init(lm75_t *dev, const lm75_params_t *params) {
+
+    /* Enable OS interrupt */
+    gpio_init_int(LM75_PARAM_INT, GPIO_IN_PU, GPIO_FALLING, __irq_os_cb, NULL);
</pre>
<p>Yes it configures the alarm threshold.<br>
But we only need to configure the alarm GPIO if we set the alarm.</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/16678#discussion_r677304220">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFJTB2AKKJ2NKAFFQDTZZ73FANCNFSM5A4D3GTA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYETOCDEI4VZ2OID2B3TZZ73FA5CNFSM5A4D3GTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFKUROKI.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/16678#discussion_r677304220",
"url": "https://github.com/RIOT-OS/RIOT/pull/16678#discussion_r677304220",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>