FlippyPass/project/flippypass.c

27 lines
No EOL
493 B
C

// Libraries
#include <furi.h>
#include "ui.h"
// Entry Point
int32_t flippypass_app(void* p) {
// Not using P Parameter
UNUSED(p);
// Creating the UI struct
uiManager* ui = ui_create();
// Timer
int alive_timer = 0;
// Drawwing the UI
while(ui->running) {
// Updating canvas
view_port_update(ui->canvas);
alive_timer += 1;
if (alive_timer > 10000000) {ui->running = false; break;}
}
// Exit App
return 0;
}