mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-16 04:24:45 -07:00
Merge last fz-dev into dev
This commit is contained in:
@@ -186,7 +186,7 @@ bool subghz_scene_read_raw_on_event(void* context, SceneManagerEvent event) {
|
||||
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneMoreRAW);
|
||||
return true;
|
||||
} else {
|
||||
furi_crash("SugGhz: RAW file name update error.");
|
||||
furi_crash("SubGhz: RAW file name update error.");
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ enum SubmenuIndex {
|
||||
SubmenuIndexGateTX,
|
||||
SubmenuIndexDoorHan_315_00,
|
||||
SubmenuIndexDoorHan_433_92,
|
||||
SubmenuIndexFirefly_300_00,
|
||||
SubmenuIndexLinear_300_00,
|
||||
SubmenuIndexLiftMaster_315_00,
|
||||
SubmenuIndexLiftMaster_390_00,
|
||||
SubmenuIndexSecPlus_v2_310_00,
|
||||
@@ -132,8 +132,8 @@ void subghz_scene_set_type_on_enter(void* context) {
|
||||
subghz);
|
||||
submenu_add_item(
|
||||
subghz->submenu,
|
||||
"Firefly_300",
|
||||
SubmenuIndexFirefly_300_00,
|
||||
"Linear_300",
|
||||
SubmenuIndexLinear_300_00,
|
||||
subghz_scene_set_type_submenu_callback,
|
||||
subghz);
|
||||
submenu_add_item(
|
||||
@@ -277,11 +277,11 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
|
||||
generated_protocol = true;
|
||||
}
|
||||
break;
|
||||
case SubmenuIndexFirefly_300_00:
|
||||
case SubmenuIndexLinear_300_00:
|
||||
key = (key & 0x3FF);
|
||||
if(subghz_scene_set_type_submenu_gen_data_protocol(
|
||||
subghz,
|
||||
SUBGHZ_PROTOCOL_FIREFLY_NAME,
|
||||
SUBGHZ_PROTOCOL_LINEAR_NAME,
|
||||
key,
|
||||
10,
|
||||
300000000,
|
||||
|
||||
Reference in New Issue
Block a user