From eee6c31b4a792c281cec8bc154976c98ce92b761 Mon Sep 17 00:00:00 2001 From: Petr Mikhalicin Date: Sat, 27 Dec 2025 01:30:16 +0500 Subject: [PATCH] plugin otp: Stop freezing display when generate OTP Sometimes OTP code expires soon and we can't use it. So, We have to wait for new one. And it's really anoying, when devide stucking at this time Change-Id: Ic5e0105b6c051ad2ec2a2421068867be2e497683 --- apps/plugins/otp.c | 1 - docs/CREDITS | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/otp.c b/apps/plugins/otp.c index 7dab446419..ed8d5737e5 100644 --- a/apps/plugins/otp.c +++ b/apps/plugins/otp.c @@ -541,7 +541,6 @@ static void show_code(int acct) rb->splash(0, "TOTP not supported on this device!"); } #endif - rb->sleep(HZ * 2); while(1) { int button = rb->button_get(true); diff --git a/docs/CREDITS b/docs/CREDITS index 3af15c5e11..0b59d2682a 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -749,6 +749,7 @@ Hoàng Manh Phú Gyúróczki Norbert Ivan Romaniuk-Mikhailovsky Matthieu BACHELIER +Petr Mikhalitsyn The libmad team The wavpack team