Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions sample/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,9 +727,8 @@ void test_display_on_resolution(int fd, uint32_t width, uint32_t height)
if (++index >= num_bmp)
index = 0;

if (kbhit() == 0) {
while (kbhit() == 0) {
usleep(1000*10); // sleep for 10 ms
continue;
}

c = getchar();
Expand Down