A refactor.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-04-20 17:34:42 +02:00
parent fa07b59cc7
commit 26de18608f
64 changed files with 1067 additions and 917 deletions

View File

@@ -15,18 +15,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
#include "picokeys.h"
#include "rest_server.h"
#include "rest_server_tls.h"
#include "pico_keys.h"
#include "usb.h"
#include <stdbool.h>
#include <ctype.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#ifdef ENABLE_EMULATION
@@ -127,7 +121,7 @@ void rest_task(void) {
return;
}
status = card_status(ITF_LWIP);
if (status != PICOKEY_OK) {
if (status != PICOKEYS_OK) {
return;
}