Commit b380ebb7 authored by Federico Vaga's avatar Federico Vaga

freewatch: add application's flags

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent e226638e
......@@ -38,6 +38,10 @@ extern xTaskHandle appTask;
///> Shared application event queue
extern xQueueHandle appQueue;
enum application_flags {
APP_FLAGS_RUN = (1 << 0),
};
/**
* @brief An application entry, used by the menu application.
*/
......@@ -51,6 +55,9 @@ typedef struct application {
*/
void (*main)(void* params);
void (*quit)(struct application *app);
///> different status flags
uint32_t flags;
} application;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment