t5577_multiwriter_scene_select_first_key.c 638 B

12345678910111213141516171819202122
  1. #include "../t5577_multiwriter_i.h"
  2. void t5577_multiwriter_scene_select_first_key_on_enter(void* context) {
  3. LfRfid* app = context;
  4. if(t5577_multiwriter_load_key_from_file_select(app)) {
  5. scene_manager_next_scene(app->scene_manager, LfRfidSceneWriteFirstKey);
  6. } else {
  7. scene_manager_previous_scene(app->scene_manager);
  8. }
  9. }
  10. bool t5577_multiwriter_scene_select_first_key_on_event(void* context, SceneManagerEvent event) {
  11. UNUSED(context);
  12. UNUSED(event);
  13. bool consumed = false;
  14. return consumed;
  15. }
  16. void t5577_multiwriter_scene_select_first_key_on_exit(void* context) {
  17. UNUSED(context);
  18. }