mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 23:10:22 +00:00
19 lines
No EOL
454 B
C
19 lines
No EOL
454 B
C
#pragma once
|
|
|
|
#include <furi_hal.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include <storage/storage.h>
|
|
|
|
typedef struct {
|
|
uint32_t frequency;
|
|
int32_t preset;
|
|
} SubGhzLastSettings;
|
|
|
|
SubGhzLastSettings* subghz_last_settings_alloc(void);
|
|
|
|
void subghz_last_settings_free(SubGhzLastSettings* instance);
|
|
|
|
void subghz_last_settings_load(SubGhzLastSettings* instance, size_t preset_count);
|
|
|
|
bool subghz_last_settings_save(SubGhzLastSettings* instance); |