mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-24 05:23:06 +00:00
2f2f6b5f50
* BLE: working version * BLE: cleanup * BLE: update device description and DIS. * BLE: explicitly take semaphore and configure CLK48, bt subsystem status, remove LPM. * HAL: add missing api_hal_bt_is_alive symbol * TODO about valuemutex * duplicate f3-1 (f4) ioc from f3 * regenerate project * use target dir for ble glue path * update f4 from f3 Co-authored-by: coreglitch <mail@s3f.ru>
19 lines
321 B
C
19 lines
321 B
C
#pragma once
|
|
|
|
#include "bt.h"
|
|
|
|
#include <cli/cli.h>
|
|
#include <flipper.h>
|
|
#include <flipper_v2.h>
|
|
#include <gui/gui.h>
|
|
#include <gui/widget.h>
|
|
|
|
typedef struct {
|
|
Cli* cli;
|
|
Icon* statusbar_icon;
|
|
Widget* statusbar_widget;
|
|
} Bt;
|
|
|
|
Bt* bt_alloc();
|
|
|
|
void bt_draw_statusbar_callback(CanvasApi* canvas, void* context);
|