flipperzero-firmware/applications/bt/bt_i.h
あく 1b2c31da6f
Power subsystem improvements and bug fixes (#353)
* BT: render icon statically.
* Move API HAL Power init call to api_hal_init.
* API HAL Power: replace stop2 mode with stop1 to ensure usb and lptim2 proper work.
2021-02-25 13:22:46 +03:00

34 lines
574 B
C

#pragma once
#include "bt.h"
#include <furi.h>
#include <api-hal.h>
#include <cli/cli.h>
#include <gui/gui.h>
#include <gui/view_port.h>
#include <menu/menu.h>
#include <menu/menu_item.h>
typedef struct {
Cli* cli;
Gui* gui;
ValueMutex* menu;
// Status bar
ViewPort* statusbar_view_port;
// Menu
Icon* menu_icon;
MenuItem* menu_item;
} Bt;
Bt* bt_alloc();
void bt_draw_statusbar_callback(Canvas* canvas, void* context);
void bt_cli_info(string_t args, void* context);
void bt_draw_statusbar_callback(Canvas* canvas, void* context);