IZAR Flight Controller 1.0.0
IZAR Flight Controller running with an ESP32.
sd_c.h
Go to the documentation of this file.
1#ifndef SD_C_H
2#define SD_C_H
3
4#include <esp_err.h>
5#include <stdio.h>
6
7#define TAG_SD "SD"
8
15esp_err_t sd_c_init(FILE **logFile);
16
23void write_to_file_c(FILE *file, char *text);
24
25
26#endif // SD_C_H
void write_to_file_c(FILE *file, char *text)
Write text to file.
Definition sd_c.c:22
esp_err_t sd_c_init(FILE **logFile)
Initialize the SD card and open the file to write data.
Definition sd_c.c:6
FILE * logFile
Definition sensors_reading.c:20