Skip to content

Commit 999ce17

Browse files
committed
changed lookuptable type to uint8_t
1 parent abe1a96 commit 999ce17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/totp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace menu {
4444
char index_buf[6] = {};
4545

4646
constexpr static uint32_t step_size = 2;
47-
using lookuptable = klib::lookuptable<360 / step_size, int>;
47+
using lookuptable = klib::lookuptable<360 / step_size, int8_t>;
4848

4949
constexpr static lookuptable lookuptable_sin[] = {
5050
lookuptable(detail::sin_scaled<20, step_size>),

0 commit comments

Comments
 (0)