Skip to content

Commit

Permalink
changed lookuptable type to uint8_t
Browse files Browse the repository at this point in the history
  • Loading branch information
itzandroidtab committed Aug 31, 2024
1 parent abe1a96 commit 999ce17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/totp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>),
Expand Down

0 comments on commit 999ce17

Please sign in to comment.