Fix small bugs

This commit is contained in:
MX 2023-02-08 21:45:23 +03:00
parent 3890c7f9fa
commit eaffe0ec17
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

@ -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: