From 12739c2a91c6e37d4b4bebdd8673e22d960b097a Mon Sep 17 00:00:00 2001 From: d0k3 Date: Mon, 6 Nov 2017 01:50:35 +0100 Subject: [PATCH] Adjust brightness while displaying progress bar fixes #259 --- source/common/ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/common/ui.c b/source/common/ui.c index 8c835d0..9ae078e 100644 --- a/source/common/ui.c +++ b/source/common/ui.c @@ -12,6 +12,7 @@ #include "ui.h" #include "rtc.h" #include "timer.h" +#include "power.h" #include "hid.h" #define STRBUF_SIZE 512 // maximum size of the string buffer @@ -751,5 +752,6 @@ bool ShowProgress(u64 current, u64 total, const char* opstr) last_prog_width = prog_width; + CheckBrightness(); return !CheckButton(BUTTON_B); }