Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
settings_arch.c File Reference

linux arch Persistent settings. More...

#include "subsystems/settings.h"
#include <stdio.h>
+ Include dependency graph for settings_arch.c:

Go to the source code of this file.

Macros

#define PERSISTENT_SETTINGS_FILE   "pprz_persistent_settings.binary"
 Default file used to store persistent settings. More...
 

Functions

int32_t persistent_write (void *ptr, uint32_t size)
 
int32_t persistent_read (void *ptr, uint32_t size)
 
int32_t persistent_clear (void)
 

Detailed Description

linux arch Persistent settings.

Saves the PersistentSettings struct to a binary file.

Definition in file settings_arch.c.

Macro Definition Documentation

#define PERSISTENT_SETTINGS_FILE   "pprz_persistent_settings.binary"

Default file used to store persistent settings.

Definition at line 34 of file settings_arch.c.

Referenced by persistent_clear(), persistent_read(), and persistent_write().

Function Documentation

int32_t persistent_clear ( void  )

Definition at line 74 of file settings_arch.c.

Referenced by settings_clear().

+ Here is the caller graph for this function:

int32_t persistent_read ( void *  ptr,
uint32_t  size 
)

Definition at line 49 of file settings_arch.c.

References PERSISTENT_SETTINGS_FILE.

int32_t persistent_write ( void *  ptr,
uint32_t  size 
)

Definition at line 37 of file settings_arch.c.

References PERSISTENT_SETTINGS_FILE.