Skip to content

Commit

Permalink
fix: uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenQian committed Dec 6, 2024
1 parent db7b251 commit 3ababab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui_simulator/simulator_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,12 @@ static bool on_qr_detected(const char *qrString)
return false;
}

// int32_t read_qrcode()
// {
// read_qr_code_from_screen(on_qr_detected, 64);
// return 0;
// }
// #else
int32_t read_qrcode()
{
read_qr_code_from_screen(on_qr_detected, 64);
return 0;
}
#else
int32_t read_qrcode()
{
UrViewType_t viewType;
Expand Down

0 comments on commit 3ababab

Please sign in to comment.