1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-16 17:42:02 +00:00

fix(core): add missing include

we were using `FILE` and `fprintf` without including the stdio header
This commit is contained in:
Pavol Rusnak 2021-12-14 19:57:21 +01:00
parent 30a77a76bc
commit 56f0e2c5de
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -36,6 +36,7 @@
#include "embed/rust/librust.h"
#include "embed/trezorhal/usb.h"
#include <stdio.h>
#include <string.h>
#define WORDS_PER_BLOCK ((MICROPY_BYTES_PER_GC_BLOCK) / MP_BYTES_PER_OBJ_WORD)