Fix deadlock in hexview

thanks huhen
This commit is contained in:
Such Meme, Many Skill committed 2020-05-02 21:56:49 +02:00
1 parent 7add4b6b13
commit baac8dc2fb
1 file changed
+2 -1
+2 -1
View File
@@ -42,7 +42,8 @@ void viewbytes(char *path){
int res;
Inputs *input = hidRead();
while (input->buttons & (KEY_POW | KEY_B));
while (input->buttons & (KEY_POW | KEY_B))
hidRead();
gfx_clearscreen();
print = malloc (1024);