summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/app/app_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/app/app_root.c')
-rw-r--r--fw/fe310/eos/app/app_root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/app/app_root.c b/fw/fe310/eos/app/app_root.c
index 1b46ea8..fac9548 100644
--- a/fw/fe310/eos/app/app_root.c
+++ b/fw/fe310/eos/app/app_root.c
@@ -39,12 +39,12 @@ void app_root_refresh(void) {
eve_spi_stop();
}
-void app_root_init(eve_view_constructor_t home_page) {
+void app_root_init(eve_view_constructor_t home_page, int b) {
EVERect g;
eve_spi_start();
- eve_brightness(0x40);
+ if (b >= 0) eve_brightness(b);
eve_font_init(&font, APP_FONT_HANDLE);