Fix haders.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-10-13 20:51:18 +02:00
parent 08d4dc58aa
commit 6163b870ed
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -28,6 +28,9 @@
#include "kek.h"
#include "mbedtls/hkdf.h"
#include "mbedtls/chachapoly.h"
#ifdef PICO_RP2350
#include "otp.h"
#endif
#define CMD_DATETIME 0xA
#define CMD_DYNOPS 0x6
@ -251,7 +254,7 @@ int cmd_extras() {
}
}
#endif
#if RP2350
#if PICO_RP2350
else if (P1(apdu) == CMD_OTP) {
if (apdu.nc < 2) {
return SW_WRONG_LENGTH();