mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
421a0f6b97
* Firmware: drop F5 target * Rename app-loader to loader * Update code owners file * Loader: global application start lock API, minor refactoring * Archive: update loader usage * Cli: Command flags, global application start lock * Apps: update cli API usage * Bootloader: minor refactoring * Firmware: minor build refactoring * SubGhz: GUI packet test * SubGhz: drop packet transmission and unused presets * Github: drop F5 from build * Archive: favorites * Archive: a little bit more of Favorites
20 lines
432 B
C
20 lines
432 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
typedef struct Loader Loader;
|
|
|
|
/** Start application
|
|
* @param name - application name
|
|
* @param args - application arguments
|
|
* @retval true on success
|
|
*/
|
|
bool loader_start(Loader* instance, const char* name, const char* args);
|
|
|
|
/** Lock application start
|
|
* @retval true on success
|
|
*/
|
|
bool loader_lock(Loader* instance);
|
|
|
|
/** Unlock application start */
|
|
void loader_unlock(Loader* instance);
|