Reload lists after scanning, and move text to bottom to leave top solely to camera (#126)

* reload lists after qr code is scanned

* move "press R to exit" to bottom screen
This commit is contained in:
LiquidFenrir
2017-12-31 16:01:26 +01:00
committed by GitHub
parent 642b9f9c13
commit c6f3af7350
3 changed files with 27 additions and 15 deletions

View File

@@ -34,13 +34,14 @@ typedef struct {
u32 *texture_buffer;
Handle mutex;
volatile bool finished;
volatile bool success;
Handle cancel;
bool capturing;
struct quirc* context;
} qr_data;
void init_qr(EntryMode current_mode);
bool init_qr(EntryMode current_mode);
void exit_qr(qr_data *data);
void take_picture(void);
Result http_get(char *url, const char *path);