invert display option (#2232)

* invert display option

* text fix, format code
This commit is contained in:
Totoo 2024-09-07 10:58:57 +02:00 committed by GitHub
parent e6afd7744d
commit 87069f11e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 65 additions and 15 deletions

View file

@ -81,6 +81,10 @@ bool IO::get_dark_cover() {
return portapack::persistent_memory::apply_fake_brightness();
}
bool IO::get_is_inverted() {
return portapack::persistent_memory::config_lcd_inverted_mode();
}
uint8_t IO::get_brightness() {
return portapack::persistent_memory::fake_brightness_level();
}