Various improvements and fixes (#131)
- Added a custom spinner using the Tactility logo - Fix for crash in version logging - Make file browsing less verbose in log - Fix memory leak in FileUtils - Fix bug when display brightness was set to 255: after reboot it would be set to 0 - Smaller boot logo (removed empty space)
This commit is contained in:
committed by
GitHub
parent
80b69b7f45
commit
b4592dd7d1
@@ -15,7 +15,7 @@ void setBacklightDuty(uint8_t value) {
|
||||
uint8_t getBacklightDuty() {
|
||||
int32_t result;
|
||||
if (preferences.optInt32(BACKLIGHT_DUTY_KEY, result)) {
|
||||
return (uint8_t)(result % 255);
|
||||
return (uint8_t)(result % 256);
|
||||
} else {
|
||||
return 200;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user