Created
February 7, 2014 16:19
-
-
Save Zaxuhe/8866087 to your computer and use it in GitHub Desktop.
bb10 avoid screen sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int idle_mode = SCREEN_IDLE_MODE_KEEP_AWAKE; | |
screen_set_window_property_iv(screen_win, SCREEN_PROPERTY_IDLE_MODE, &idle_mode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment