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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/10983#discussion_r259594333">drivers/ph_oem/ph_oem.c</a>:</p>
<pre style='color:#555'>> +
+    i2c_acquire(I2C);
+
+    if (i2c_write_reg(I2C, ADDR, PH_OEM_REG_ADDRESS, addr, 0x0) < 0) {
+        DEBUG("\n[ph_oem debug] Setting I2C address to %x failed\n", addr);
+        i2c_release(I2C);
+        return PH_OEM_WRITE_ERR;
+    }
+
+    dev->params.addr = addr;
+    i2c_release(I2C);
+
+    return PH_OEM_OK;
+}
+
+int ph_oem_enable_interrupt(ph_oem_t *dev, ph_oem_interrupt_pin_cb_t cb,
</pre>
<p>Your right. I added a function call to "ph_oem_set_interrupt_pin()" in this function.</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/10983#discussion_r259594333">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YIuHvq3ecPlnTUkuhDdM1dZEnzfgks5vQbbLgaJpZM4azXyV">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YDU8gFvP83n3MYYSdJTRVfXeCNHhks5vQbbLgaJpZM4azXyV.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@skullbox305 commented on #10983"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/10983#discussion_r259594333"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10983#discussion_r259594333",
"url": "https://github.com/RIOT-OS/RIOT/pull/10983#discussion_r259594333",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>