unleashed-firmware/firmware/targets/local/Src/main.c

19 lines
280 B
C
Raw Normal View History

#include "heap.h"
#include "errno.h"
/*
Flipper devices inc.
Local fw build entry point.
*/
int app();
int main() {
// this function is not thread-safe, so it must be called in single thread context
if(!prvHeapInit()){
return ENOMEM;
}
return app();
}