Create fatal component to handle fatal errors
This commit is contained in:
@@ -1 +1,5 @@
|
||||
idf_component_register(SRCS "main.c")
|
||||
idf_component_register(
|
||||
SRCS "main.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES fatal
|
||||
)
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* Copyright (c) Camden Dixie O'Brien
|
||||
*/
|
||||
|
||||
#include "fatal.h"
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
FATAL();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user