Force GUI render after setting brightness
Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
This commit is contained in:
committed by
Jason Riordan
parent
b58e6d253a
commit
b53907e594
@@ -142,6 +142,7 @@ int blanktimer::setBrightness(int brightness) {
|
||||
bstring = buff;
|
||||
if ((TWFunc::write_file(brightness_path, bstring)) != 0)
|
||||
return -1;
|
||||
gui_forceRender();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user