* 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>
19 lines
460 B
C++
19 lines
460 B
C++
#include "ibutton_scene_select_key.h"
|
|
#include "../ibutton_app.h"
|
|
|
|
void iButtonSceneSelectKey::on_enter(iButtonApp* app) {
|
|
// Process file_select return
|
|
if(app->load_key()) {
|
|
app->switch_to_next_scene(iButtonApp::Scene::SceneSavedKeyMenu);
|
|
} else {
|
|
app->switch_to_previous_scene();
|
|
}
|
|
}
|
|
|
|
bool iButtonSceneSelectKey::on_event(iButtonApp*, iButtonEvent*) {
|
|
return false;
|
|
}
|
|
|
|
void iButtonSceneSelectKey::on_exit(iButtonApp*) {
|
|
}
|