mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-29 21:52:03 -07:00
Use 17 (1W) pin for subghz debug mode
This commit is contained in:
@@ -13,7 +13,7 @@ const char* const radio_modules_variables_text[] = {
|
||||
#define DEBUG_P_COUNT 2
|
||||
const char* const debug_pin_text[DEBUG_P_COUNT] = {
|
||||
"OFF",
|
||||
"A7",
|
||||
"17(1W)",
|
||||
};
|
||||
|
||||
static void subghz_scene_ext_module_changed(VariableItem* item) {
|
||||
|
||||
@@ -598,7 +598,7 @@ void subghz_hopper_update(SubGhz* subghz) {
|
||||
|
||||
void subghz_speaker_on(SubGhz* subghz) {
|
||||
if(subghz->txrx->debug_pin_state) {
|
||||
furi_hal_subghz_set_async_mirror_pin(&gpio_ext_pa7);
|
||||
furi_hal_subghz_set_async_mirror_pin(&ibutton_gpio);
|
||||
}
|
||||
|
||||
if(subghz->txrx->speaker_state == SubGhzSpeakerStateEnable) {
|
||||
@@ -643,7 +643,7 @@ void subghz_speaker_mute(SubGhz* subghz) {
|
||||
|
||||
void subghz_speaker_unmute(SubGhz* subghz) {
|
||||
if(subghz->txrx->debug_pin_state) {
|
||||
furi_hal_subghz_set_async_mirror_pin(&gpio_ext_pa7);
|
||||
furi_hal_subghz_set_async_mirror_pin(&ibutton_gpio);
|
||||
}
|
||||
if(subghz->txrx->speaker_state == SubGhzSpeakerStateEnable) {
|
||||
if(furi_hal_speaker_is_mine()) {
|
||||
|
||||
Reference in New Issue
Block a user