PX4 Firmware
PX4 Autopilot Software http://px4.io
util.h File Reference
#include <stdint.h>
#include <time.h>
#include <uORB/uORB.h>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 px4
 
 px4::logger
 
 px4::logger::util
 

Macros

#define LOG_DIR_LEN   256
 

Functions

int px4::logger::util::remove_directory (const char *dir)
 Recursively remove a directory. More...
 
bool px4::logger::util::file_exist (const char *filename)
 check if a file exists More...
 
int px4::logger::util::check_free_space (const char *log_root_dir, int32_t max_log_dirs_to_keep, orb_advert_t &mavlink_log_pub, int &sess_dir_index)
 Check if there is enough free space left on the SD Card. More...
 
bool px4::logger::util::get_log_time (struct tm *tt, int utc_offset_sec=0, bool boot_time=false)
 Get the time for log file name. More...
 

Macro Definition Documentation

◆ LOG_DIR_LEN

#define LOG_DIR_LEN   256