From ba3b9586123f21939e559cde935036e5c8f444b6 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 24 Jan 2019 00:20:08 +0100 Subject: [PATCH] embed/extmod/modtrezorio: add missing secbool conversion in sbu --- embed/extmod/modtrezorio/modtrezorio-sbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embed/extmod/modtrezorio/modtrezorio-sbu.h b/embed/extmod/modtrezorio/modtrezorio-sbu.h index 3ac5b709dc..2ed95b8f24 100644 --- a/embed/extmod/modtrezorio/modtrezorio-sbu.h +++ b/embed/extmod/modtrezorio/modtrezorio-sbu.h @@ -42,7 +42,7 @@ STATIC mp_obj_t mod_trezorio_SBU_make_new(const mp_obj_type_t *type, size_t n_ar /// Sets SBU wires to sbu1 and sbu2 values respectively /// ''' STATIC mp_obj_t mod_trezorio_SBU_set(mp_obj_t self, mp_obj_t sbu1, mp_obj_t sbu2) { - sbu_set(mp_obj_is_true(sbu1), mp_obj_is_true(sbu2)); + sbu_set(sectrue * mp_obj_is_true(sbu1), sectrue * mp_obj_is_true(sbu2)); return mp_const_none; } STATIC MP_DEFINE_CONST_FUN_OBJ_3(mod_trezorio_SBU_set_obj, mod_trezorio_SBU_set);