mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-24 05:23:06 +00:00
c209ec56fc
* Notification: use all input for backlight, otherwise it is causing issues on repeat. Dolphin: rework debug tools. * Notification: remove unused variable * Applications: fix incorrect count in system apps list * SubGhz: fix memory leak in settings * SubGhz: fix incorrect frequency in newly created keys * Loader: make cli command parallel safe
26 lines
747 B
C
26 lines
747 B
C
|
|
#pragma once
|
|
|
|
#include <math.h>
|
|
#include <furi.h>
|
|
#include <furi_hal.h>
|
|
|
|
typedef struct SubGhzSetting SubGhzSetting;
|
|
|
|
SubGhzSetting* subghz_setting_alloc(void);
|
|
|
|
void subghz_setting_free(SubGhzSetting* instance);
|
|
|
|
void subghz_setting_load(SubGhzSetting* instance, const char* file_path);
|
|
|
|
size_t subghz_setting_get_frequency_count(SubGhzSetting* instance);
|
|
|
|
size_t subghz_setting_get_hopper_frequency_count(SubGhzSetting* instance);
|
|
|
|
uint32_t subghz_setting_get_frequency(SubGhzSetting* instance, size_t idx);
|
|
|
|
uint32_t subghz_setting_get_hopper_frequency(SubGhzSetting* instance, size_t idx);
|
|
|
|
uint32_t subghz_setting_get_frequency_default_index(SubGhzSetting* instance);
|
|
|
|
uint32_t subghz_setting_get_default_frequency(SubGhzSetting* instance);
|