mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
lint
This commit is contained in:
parent
f0f3615c55
commit
f9bda68ef8
5 changed files with 19 additions and 21 deletions
|
@ -18,10 +18,7 @@ CanvasApi* canvas_api_init() {
|
||||||
CanvasApi* api = furi_alloc(sizeof(CanvasApi));
|
CanvasApi* api = furi_alloc(sizeof(CanvasApi));
|
||||||
|
|
||||||
u8g2_Setup_st7565_erc12864_alt_f(
|
u8g2_Setup_st7565_erc12864_alt_f(
|
||||||
&api->canvas.fb,
|
&api->canvas.fb, U8G2_R0, u8x8_hw_spi_stm32, u8g2_gpio_and_delay_stm32);
|
||||||
U8G2_R0,
|
|
||||||
u8x8_hw_spi_stm32,
|
|
||||||
u8g2_gpio_and_delay_stm32);
|
|
||||||
|
|
||||||
// send init sequence to the display, display is in sleep mode after this
|
// send init sequence to the display, display is in sleep mode after this
|
||||||
u8g2_InitDisplay(&api->canvas.fb);
|
u8g2_InitDisplay(&api->canvas.fb);
|
||||||
|
|
|
@ -45,7 +45,8 @@ void gui_add_widget(GuiApi* gui_api, Widget* widget, WidgetLayer layer) {
|
||||||
widget_array = &gui_api->gui->widgets_dialog;
|
widget_array = &gui_api->gui->widgets_dialog;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: break;
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(widget);
|
assert(widget);
|
||||||
|
|
Loading…
Reference in a new issue