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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/8419#discussion_r327199662">drivers/lis2dh12/lis2dh12.c</a>:</p>
<pre style='color:#555'>> +/* and now the I2C specific part of the driver */
+#else
+
+/* I2C config */
+#define BUS_CLK             I2C_SPEED_FAST
+#define BUS_OK              (0)
+/* I2C shortcuts */
+#define BUS                 (dev->p->i2c)
+#define ADDR                (dev->p->addr)
+/* flag for enabling address auto-incrementation */
+#define FLAG_AINC           (0x80)
+
+static int _init_bus(const lis2dh12_t *dev)
+{
+    /* for I2C, we initialize the bus in master mode */
+    if (i2c_init_master(BUS, BUS_CLK) != BUS_OK) {
</pre>
<p>This function does not exist anymore.</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/8419?email_source=notifications&email_token=ABE7WYA4LKOYBCEZIX63AITQLDSELA5CNFSM4ENHQ5K2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFS5YJI#pullrequestreview-291888165">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBEJCERYI2S2M6Y3HDQLDSELANCNFSM4ENHQ5KQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDAIAYDE7TATNNMKRLQLDSELA5CNFSM4ENHQ5K2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFS5YJI.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/8419?email_source=notifications\u0026email_token=ABE7WYA4LKOYBCEZIX63AITQLDSELA5CNFSM4ENHQ5K2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFS5YJI#pullrequestreview-291888165",
"url": "https://github.com/RIOT-OS/RIOT/pull/8419?email_source=notifications\u0026email_token=ABE7WYA4LKOYBCEZIX63AITQLDSELA5CNFSM4ENHQ5K2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCFS5YJI#pullrequestreview-291888165",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>