Fix build in emulation mode.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-11-06 15:32:25 +01:00
parent bef1922c8f
commit 0b00e01187
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -87,7 +87,9 @@ void __attribute__((constructor)) fido_ctor() {
get_version_minor = fido_get_version_minor;
fido_aid = _fido_aid;
init_fido_cb = init_fido;
#ifndef ENABLE_EMULATION
cbor_thread_func = cbor_thread;
#endif
cbor_process_cb = cbor_process;
register_app(fido_select, fido_aid);
}