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