mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-26 00:08:10 +00:00
add BYTES_PER_WORD define
This commit is contained in:
parent
ae0c5b3cbc
commit
2d452551da
@ -146,6 +146,8 @@ extern const struct _mp_obj_module_t mp_module_TrezorUtils;
|
||||
|
||||
// type definitions for the specific machine
|
||||
|
||||
#define BYTES_PER_WORD (4)
|
||||
|
||||
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1))
|
||||
|
||||
#define MP_SSIZE_MAX (0x0fffffff)
|
||||
|
Loading…
Reference in New Issue
Block a user