mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
Merge branch 'ofw-dev' into dev
This commit is contained in:
commit
416a02fc5b
5 changed files with 4 additions and 4 deletions
|
@ -21,11 +21,11 @@ void infrared_scene_universal_ac_on_enter(void* context) {
|
||||||
0,
|
0,
|
||||||
6,
|
6,
|
||||||
15,
|
15,
|
||||||
&I_power_19x20,
|
&I_off_19x20,
|
||||||
&I_power_hover_19x20,
|
&I_off_hover_19x20,
|
||||||
infrared_scene_universal_common_item_callback,
|
infrared_scene_universal_common_item_callback,
|
||||||
context);
|
context);
|
||||||
button_panel_add_icon(button_panel, 4, 37, &I_power_text_24x5);
|
button_panel_add_icon(button_panel, 10, 37, &I_off_text_12x5);
|
||||||
infrared_brute_force_add_record(brute_force, i++, "Off");
|
infrared_brute_force_add_record(brute_force, i++, "Off");
|
||||||
button_panel_add_item(
|
button_panel_add_item(
|
||||||
button_panel,
|
button_panel,
|
||||||
|
|
|
@ -193,11 +193,11 @@ int32_t lfrfid_app(void* p) {
|
||||||
dolphin_deed(DolphinDeedRfidEmulate);
|
dolphin_deed(DolphinDeedRfidEmulate);
|
||||||
} else {
|
} else {
|
||||||
// TODO: exit properly
|
// TODO: exit properly
|
||||||
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
lfrfid_free(app);
|
lfrfid_free(app);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
view_dispatcher_attach_to_gui(
|
view_dispatcher_attach_to_gui(
|
||||||
app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen);
|
app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen);
|
||||||
|
|
BIN
assets/icons/Infrared/off_19x20.png
Normal file
BIN
assets/icons/Infrared/off_19x20.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
BIN
assets/icons/Infrared/off_hover_19x20.png
Normal file
BIN
assets/icons/Infrared/off_hover_19x20.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 B |
BIN
assets/icons/Infrared/off_text_12x5.png
Normal file
BIN
assets/icons/Infrared/off_text_12x5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 B |
Loading…
Reference in a new issue