mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +00:00
31 lines
749 B
C
31 lines
749 B
C
/*
|
|
* Copyright (c) Pavol Rusnak, SatoshiLabs
|
|
*
|
|
* Licensed under TREZOR License
|
|
* see LICENSE file for details
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdint.h>
|
|
|
|
#include "py/runtime.h"
|
|
|
|
#if MICROPY_PY_TREZORUI
|
|
|
|
#include "modtrezorui-display.h"
|
|
|
|
STATIC const mp_rom_map_elem_t mp_module_TrezorUI_globals_table[] = {
|
|
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_TrezorUI) },
|
|
{ MP_ROM_QSTR(MP_QSTR_Display), MP_ROM_PTR(&mod_TrezorUI_Display_type) },
|
|
};
|
|
|
|
STATIC MP_DEFINE_CONST_DICT(mp_module_TrezorUI_globals, mp_module_TrezorUI_globals_table);
|
|
|
|
const mp_obj_module_t mp_module_TrezorUI = {
|
|
.base = { &mp_type_module },
|
|
.globals = (mp_obj_dict_t*)&mp_module_TrezorUI_globals,
|
|
};
|
|
|
|
#endif // MICROPY_PY_TREZORUI
|