mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-09 03:11:29 +00:00
add doxygen and header guards
This commit is contained in:
parent
f30fa4f130
commit
472b478afe
8 changed files with 126 additions and 21 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef STORAGE_H
|
||||
#define STORAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
|
|
@ -24,5 +23,3 @@ const char *storage_get_mount_point(void);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* STORAGE_H */
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
#define LOG_TAG "STORE"
|
||||
#define LOG_TAG "STORE" ///< "STORE" log tag for this file
|
||||
|
||||
#include "storage.h"
|
||||
#include "esp_littlefs.h"
|
||||
#include "esp_vfs.h"
|
||||
#include "logger.h"
|
||||
|
||||
static const char *LITTLEFS_MOUNT_POINT = "/data";
|
||||
static const char *LITTLEFS_MOUNT_POINT =
|
||||
"/data"; ///< Mount point for LittleFS filesystem
|
||||
|
||||
esp_err_t storage_init(void) {
|
||||
esp_vfs_littlefs_conf_t conf = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue