mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 10:51:54 +03:00
Fix small bugs
This commit is contained in:
parent
3890c7f9fa
commit
eaffe0ec17
@ -28,6 +28,7 @@ bool subghz_scene_delete_success_on_event(void* context, SceneManagerEvent event
|
|||||||
if(event.event == SubGhzCustomEventSceneDeleteSuccess) {
|
if(event.event == SubGhzCustomEventSceneDeleteSuccess) {
|
||||||
if(scene_manager_search_and_switch_to_previous_scene(
|
if(scene_manager_search_and_switch_to_previous_scene(
|
||||||
subghz->scene_manager, SubGhzSceneReadRAW)) {
|
subghz->scene_manager, SubGhzSceneReadRAW)) {
|
||||||
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReadRAW);
|
||||||
} else if(scene_manager_search_and_switch_to_previous_scene(
|
} else if(scene_manager_search_and_switch_to_previous_scene(
|
||||||
subghz->scene_manager, SubGhzSceneSaved)) {
|
subghz->scene_manager, SubGhzSceneSaved)) {
|
||||||
} else {
|
} else {
|
||||||
|
@ -285,11 +285,11 @@ void subghz_read_raw_draw(Canvas* canvas, SubGhzReadRAWModel* model) {
|
|||||||
|
|
||||||
switch(model->status) {
|
switch(model->status) {
|
||||||
case SubGhzReadRAWStatusIDLE:
|
case SubGhzReadRAWStatusIDLE:
|
||||||
canvas_draw_str(canvas, 70, 7, furi_hal_subghz_get_radio_type() ? "E" : "I");
|
|
||||||
break;
|
|
||||||
case SubGhzReadRAWStatusLoadKeyIDLE:
|
case SubGhzReadRAWStatusLoadKeyIDLE:
|
||||||
case SubGhzReadRAWStatusTX:
|
case SubGhzReadRAWStatusTX:
|
||||||
case SubGhzReadRAWStatusTXRepeat:
|
case SubGhzReadRAWStatusTXRepeat:
|
||||||
|
canvas_draw_str(canvas, 70, 7, furi_hal_subghz_get_radio_type() ? "E" : "I");
|
||||||
|
break;
|
||||||
case SubGhzReadRAWStatusLoadKeyTX:
|
case SubGhzReadRAWStatusLoadKeyTX:
|
||||||
case SubGhzReadRAWStatusLoadKeyTXRepeat:
|
case SubGhzReadRAWStatusLoadKeyTXRepeat:
|
||||||
case SubGhzReadRAWStatusStart:
|
case SubGhzReadRAWStatusStart:
|
||||||
|
Loading…
Reference in New Issue
Block a user