1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Allow to disable control of GPIO pin on rx/tx states in subghz [ci skip]

in radio settings with debug ON, settings is saved on microsd, please don't use unless you know what you are doing
This commit is contained in:
MX
2024-10-05 08:43:42 +03:00
parent 54ad331c4c
commit 1ceb1eb256
11 changed files with 102 additions and 31 deletions

View File

@@ -33,7 +33,7 @@ bool subghz_devices_begin(const SubGhzDevice* device) {
SubGhzDeviceConf conf = {
.ver = 1,
.extended_range = false, // TODO
.power_amp = true,
.amp_and_leds = furi_hal_subghz_get_ext_leds_and_amp(),
};
ret = device->interconnect->begin(&conf);

View File

@@ -94,5 +94,5 @@ struct SubGhzDevice {
struct SubGhzDeviceConf {
uint8_t ver;
bool extended_range;
bool power_amp;
bool amp_and_leds;
};