am 209c7b0f
: charger: allow devices to skip the initial display blank
* commit '209c7b0fad9604d1dde1b74d9f9d577b923469fd': charger: allow devices to skip the initial display blank
This commit is contained in:
commit
9b4a9312dc
2 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,10 @@ include $(CLEAR_VARS)
|
|||
LOCAL_SRC_FILES := \
|
||||
charger.c
|
||||
|
||||
ifeq ($(strip $(BOARD_CHARGER_DISABLE_INIT_BLANK)),true)
|
||||
LOCAL_CFLAGS := -DCHARGER_DISABLE_INIT_BLANK
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := charger
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
||||
|
|
|
@ -975,7 +975,9 @@ int main(int argc, char **argv)
|
|||
|
||||
ev_sync_key_state(set_key_callback, charger);
|
||||
|
||||
#ifndef CHARGER_DISABLE_INIT_BLANK
|
||||
gr_fb_blank(true);
|
||||
#endif
|
||||
|
||||
charger->next_screen_transition = now - 1;
|
||||
charger->next_key_check = -1;
|
||||
|
|
Loading…
Reference in a new issue