Merge unleashed

This commit is contained in:
Willy-JL
2023-07-29 20:24:53 +02:00
parent 15824cd117
commit aba874ddab
66 changed files with 223 additions and 5610 deletions

View File

@@ -1,6 +1,7 @@
#include <furi.h>
#include <furi_hal.h>
#include <furi_hal_subghz_i.h>
#include <subghz/subghz_last_settings.h>
#include <flipper_format/flipper_format_i.h>
void subghz_extended_freq() {
@@ -16,4 +17,14 @@ void subghz_extended_freq() {
flipper_format_free(file);
furi_record_close(RECORD_STORAGE);
// Load external module power amp setting (TODO: move to other place)
// TODO: Disable this when external module is not CC1101 E07
SubGhzLastSettings* last_settings = subghz_last_settings_alloc();
subghz_last_settings_load(last_settings, 0);
// Set globally in furi hal
furi_hal_subghz_set_ext_power_amp(last_settings->external_module_power_amp);
subghz_last_settings_free(last_settings);
}