Fix bug caused by race between theme thread & QR reader UI thread

This commit is contained in:
2020-06-11 13:48:34 -04:00
parent d358dd134e
commit f4217888ce
2 changed files with 8 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ typedef struct {
C3D_Tex *tex;
Handle mutex;
volatile bool finished;
volatile bool closed;
volatile bool success;
Handle cancel;
Handle started;
@@ -47,4 +48,4 @@ bool init_qr(void);
void exit_qr(qr_data *data);
void take_picture(void);
#endif
#endif