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

Nils Ollrogge notifications at github.com
Mon Aug 16 09:58:15 CEST 2021


@Ollrogge commented on this pull request.



> +#if IS_USED(MODULE_FIDO2_CTAP_HID)
+static void _ctap_hid_timeout_cb(event_t *arg)
+{
+    (void) arg;
+    fido2_ctap_transport_hid_check_timeouts();
+    event_timeout_set(&_ctap_hid_event_timeout, CTAP_HID_TRANSACTION_TIMEOUT);
+}
+#endif
+
+void fido2_ctap_transport_init(void)
+{
+#if IS_USED(MODULE_FIDO2_CTAP_HID)
+    fido2_ctap_transport_hid_init(&_queue);
+#endif
+
+    int ret = thread_create(_ctap_stack, sizeof(_ctap_stack), THREAD_PRIORITY_MAIN,

I agree. Will define the PRIO to be `THREAD_PRIORITY_MAIN - 5`. `USBUS_PRIO + 1` is too USB specific in my opinion.

-- 
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#discussion_r689316235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210816/0cdc5927/attachment.htm>


More information about the notifications mailing list