mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-16 09:12:39 +03:00
a5cc3453c8
* SubGhz: add load setting * SubGhz: add support file upload with custom frequencies * SubGhz: add load region setting * SubGhz: fix syntax * SubGhz: fix furi_halt error * Desktop: hide dolphin controls in production build * Notification: fix crash on NotificationMessageTypeLedDisplayUnlock message Co-authored-by: あく <alleteam@gmail.com>
18 lines
667 B
C
18 lines
667 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);
|