mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 14:58:36 -07:00
Fix and cleanup some headers
This commit is contained in:
@@ -20,11 +20,6 @@ typedef enum {
|
||||
BtStatusConnected,
|
||||
} BtStatus;
|
||||
|
||||
typedef struct {
|
||||
uint8_t rssi;
|
||||
uint32_t since;
|
||||
} BtRssi;
|
||||
|
||||
typedef void (*BtStatusChangedCallback)(BtStatus status, void* context);
|
||||
|
||||
/** Change BLE Profile
|
||||
@@ -84,6 +79,12 @@ void bt_keys_storage_set_storage_path(Bt* bt, const char* keys_storage_path);
|
||||
*/
|
||||
void bt_keys_storage_set_default_path(Bt* bt);
|
||||
|
||||
/** Get BLE remote RSSI value
|
||||
*
|
||||
* @param bt Bt instance
|
||||
*
|
||||
* @return true on success
|
||||
*/
|
||||
bool bt_remote_rssi(Bt* bt, uint8_t* rssi);
|
||||
|
||||
/** Open a new RPC connection
|
||||
|
||||
@@ -5,6 +5,16 @@
|
||||
|
||||
#include "dolphin_deed.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern const uint32_t DOLPHIN_LEVELS[];
|
||||
extern const size_t DOLPHIN_LEVEL_COUNT;
|
||||
|
||||
#define BUTTHURT_MAX 14
|
||||
#define BUTTHURT_MIN 0
|
||||
|
||||
typedef struct DolphinState DolphinState;
|
||||
typedef struct {
|
||||
uint8_t icounter_daily_limit[DolphinAppMAX];
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
#include "icon.h"
|
||||
|
||||
struct Icon {
|
||||
const uint16_t width;
|
||||
const uint16_t height;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <flipper.pb.h>
|
||||
|
||||
#include <furi.h>
|
||||
#include <furi_hal.h>
|
||||
#include <furi_hal_rtc.h>
|
||||
|
||||
#include <cli/cli.h>
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user