Fix and cleanup some headers

This commit is contained in:
Willy-JL
2024-08-07 02:17:40 +02:00
parent 6c1ec67346
commit fe390ccd02
4 changed files with 17 additions and 8 deletions

View File

@@ -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

View File

@@ -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];

View File

@@ -6,8 +6,6 @@
#pragma once
#include <stdint.h>
#include "icon.h"
struct Icon {
const uint16_t width;
const uint16_t height;

View File

@@ -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>