Move all firmware files to subdirectory
This commit is contained in:
16
firmware/components/fatal/fatal.c
Normal file
16
firmware/components/fatal/fatal.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
* Copyright (c) Camden Dixie O'Brien
|
||||
*/
|
||||
|
||||
#include "fatal.h"
|
||||
|
||||
#include "esp_log.h"
|
||||
|
||||
#define TAG "Fatal"
|
||||
|
||||
void _fatal(const char *func, const char *file, unsigned line)
|
||||
{
|
||||
ESP_LOGE(TAG, "%s() @ %s:%u", func, file, line);
|
||||
while (1) { }
|
||||
}
|
||||
Reference in New Issue
Block a user