flipper-zero-tutorials/subghz/apps/genie-recorder/genie.c

25 lines
626 B
C
Raw Normal View History

2023-09-28 19:56:39 +00:00
#include <furi.h>
#include <furi_hal.h>
#include <gui/gui.h>
#include <gui/view.h>
#include <gui/view_dispatcher.h>
#include <gui/modules/submenu.h>
#include <gui/modules/variable_item_list.h>
2023-09-28 19:56:39 +00:00
#include <gui/modules/widget.h>
#include "genie_about.h"
2024-02-04 19:13:58 +00:00
#include "genie_app.h"
2023-09-28 19:56:39 +00:00
#include "genie_file.h"
2024-02-04 19:13:58 +00:00
#include "genie_learn.h"
#include "genie_subghz_receive.h"
#include "genie_submenu.h"
2023-09-28 19:56:39 +00:00
const GpioPin* const pin_remote = &gpio_ext_pa7;
int32_t genie_record_app(void* p) {
UNUSED(p);
GenieApp* app = genie_app_alloc();
2024-02-04 19:13:58 +00:00
view_dispatcher_run(genie_app_get_view_dispatcher(app));
2023-09-28 19:56:39 +00:00
genie_app_free(app);
return 0;
}