Skip to content

Commit

Permalink
fix: infinite loop in keyboard modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Otrebor671 committed Aug 8, 2024
1 parent b7a3d69 commit f8a3c5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firmware/main/modules/modals/keyboard/keyboard_modal.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

typedef struct {
char* old_text;
char* new_text;
char* banner;
size_t text_length;
uint8_t current_char;
bool shift;
volatile int8_t consumed;
bool caps;
int8_t consumed;
char* new_text;
bool shift;
} keyboard_modal_ctx_t;

char* keyboard_module_write(char* text, char* banner);

0 comments on commit f8a3c5b

Please sign in to comment.