mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
0f6f9ad52e
* LF RFID: port to plain C * LFRFID debug port to C, new reading screen * LFRFID debug: fix pvs-studio warnings * RFID read view: remove unused input callback * RFID read view: animation update
22 lines
564 B
C
22 lines
564 B
C
#include "../lfrfid_i.h"
|
|
|
|
void lfrfid_scene_select_key_on_enter(void* context) {
|
|
LfRfid* app = context;
|
|
|
|
if(lfrfid_load_key_from_file_select(app)) {
|
|
scene_manager_next_scene(app->scene_manager, LfRfidSceneSavedKeyMenu);
|
|
} else {
|
|
scene_manager_previous_scene(app->scene_manager);
|
|
}
|
|
}
|
|
|
|
bool lfrfid_scene_select_key_on_event(void* context, SceneManagerEvent event) {
|
|
UNUSED(context);
|
|
UNUSED(event);
|
|
bool consumed = false;
|
|
return consumed;
|
|
}
|
|
|
|
void lfrfid_scene_select_key_on_exit(void* context) {
|
|
UNUSED(context);
|
|
}
|