From 70f0ed920c274494138acec2dcc721dc93b1f551 Mon Sep 17 00:00:00 2001 From: cepetr Date: Wed, 18 Sep 2024 16:36:11 +0200 Subject: [PATCH] TEMP - powerctl test --- core/embed/extmod/modtrezorio/modtrezorio-poll.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/embed/extmod/modtrezorio/modtrezorio-poll.h b/core/embed/extmod/modtrezorio/modtrezorio-poll.h index a5f1bc89c..e6e3d0a7f 100644 --- a/core/embed/extmod/modtrezorio/modtrezorio-poll.h +++ b/core/embed/extmod/modtrezorio/modtrezorio-poll.h @@ -57,6 +57,9 @@ STATIC mp_obj_t mod_trezorio_poll(mp_obj_t ifaces, mp_obj_t list_ref, mp_raise_TypeError("invalid list_ref"); } + extern void device_suspend_test(void); + device_suspend_test(); + // The value `timeout_ms` can be negative in a minority of cases, indicating a // deadline overrun. This is not a problem because we use the `timeout` only // to calculate a `deadline`, and having deadline in the past works fine