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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15689#discussion_r563332273">cpu/qn908x/periph/spi.c</a>:</p>
<pre style='color:#555'>> +        }
+    }
+    _spi_wait_txempty(spi_bus);
+}
+
+void spi_transfer_bytes(spi_t bus, spi_cs_t cs, bool cont,
+                        const void *out, void *in, size_t len)
+{
+    spi_pending_transfer_t tr;
+
+    _spi_config_transfer(&tr, cs, cont, out, in, len);
+
+    /* At least one of input or one output buffer is given */
+    assert(bus < SPI_NUMOF);
+
+    if (!GPIO_T_IS_HWCS(cs)) {
</pre>
<p>The gpio_set() that matches this gpio_clear() is in this function, that's why I placed it here instead of <code>_spi_config_transfer</code>.</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/15689#discussion_r563332273">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFYH3FW4KANT27UXA3S3RSXDANCNFSM4VDJZ4BQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYD3YFEAOQTK7LRMWT3S3RSXDA5CNFSM4VDJZ4B2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEJCSQCQ.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/15689#discussion_r563332273",
"url": "https://github.com/RIOT-OS/RIOT/pull/15689#discussion_r563332273",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>