From 999ce1700fb1c228e1e1d0e792585b27ebf2cfff Mon Sep 17 00:00:00 2001 From: itzandroidtab Date: Sat, 31 Aug 2024 22:19:49 +0200 Subject: [PATCH] changed lookuptable type to uint8_t --- ui/totp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/totp.hpp b/ui/totp.hpp index 86155cb..2d632d0 100644 --- a/ui/totp.hpp +++ b/ui/totp.hpp @@ -44,7 +44,7 @@ namespace menu { char index_buf[6] = {}; constexpr static uint32_t step_size = 2; - using lookuptable = klib::lookuptable<360 / step_size, int>; + using lookuptable = klib::lookuptable<360 / step_size, int8_t>; constexpr static lookuptable lookuptable_sin[] = { lookuptable(detail::sin_scaled<20, step_size>),