mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-04 18:29:31 +00:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
16 lines
520 B
C++
16 lines
520 B
C++
#include "lfrfid_app_scene_select_key.h"
|
|
|
|
void LfRfidAppSceneSelectKey::on_enter(LfRfidApp* app, bool need_restore) {
|
|
if(app->load_key_from_file_select(need_restore)) {
|
|
app->scene_controller.switch_to_next_scene(LfRfidApp::SceneType::SavedKeyMenu);
|
|
} else {
|
|
app->scene_controller.switch_to_previous_scene();
|
|
}
|
|
}
|
|
|
|
bool LfRfidAppSceneSelectKey::on_event(LfRfidApp* /* app */, LfRfidApp::Event* /* event */) {
|
|
return false;
|
|
}
|
|
|
|
void LfRfidAppSceneSelectKey::on_exit(LfRfidApp* /* app */) {
|
|
}
|