[riot-notifications] [RIOT-OS/RIOT] FIDO2 support in RIOT (#16489)

Peter Kietzmann notifications at github.com
Mon Aug 16 16:39:22 CEST 2021


@PeterKietzmann commented on this pull request.



> +{
+    if (gpio_init_int(BTN0_PIN, BTN0_MODE, GPIO_FALLING, _gpio_cb, NULL) < 0) {
+        return CTAP1_ERR_OTHER;
+    }
+
+    return CTAP2_OK;
+}
+
+int fido2_ctap_utils_user_presence_test(void)
+{
+#ifdef BTN0_PIN
+    int ret;
+
+    gpio_irq_enable(BTN0_PIN);
+
+    if (gpio_init_int(BTN0_PIN, BTN0_MODE, GPIO_FALLING, _gpio_cb, NULL) < 0) {

This was supposed to move (see [this comment](https://github.com/RIOT-OS/RIOT/pull/16489/files#r674565434))

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16489#pullrequestreview-730795428
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210816/ba03c0de/attachment.htm>


More information about the notifications mailing list