Rave king (#111)

* add u8g2 and ui libs

* add display driver and usage example

* not init display in test mode

* change todo text

* fix removed code

* add ioc for flipperzero f2

* add generated f1 files to f2

* regenerate cubemx

* invert initial state of led

* blink backligh

* shutdown backlight on idle

* more rave!

* add todo
This commit is contained in:
coreglitch
2020-09-09 22:54:21 +06:00
committed by GitHub
parent 5c81bb8abc
commit 118611eabd
4 changed files with 84 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ void display_u8g2(void* p) {
while(1) {
// wait for event
if(xSemaphoreTake(update, 1000) == pdTRUE) {
if(xSemaphoreTake(update, 10000) == pdTRUE) {
HAL_GPIO_WritePin(DISPLAY_BACKLIGHT_GPIO_Port, DISPLAY_BACKLIGHT_Pin, GPIO_PIN_SET);
u8g2_t* u8g2 = (u8g2_t*)furi_take(fb_record);