Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
settings_arch.c File Reference

linux arch Persistent settings. More...

#include "modules/core/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

◆ PERSISTENT_SETTINGS_FILE

#define PERSISTENT_SETTINGS_FILE   "pprz_persistent_settings.binary"

Default file used to store persistent settings.

Definition at line 34 of file settings_arch.c.

Function Documentation

◆ persistent_clear()

int32_t persistent_clear ( void  )

Definition at line 74 of file settings_arch.c.

References PERSISTENT_SETTINGS_FILE.

Referenced by settings_clear().

+ Here is the caller graph for this function:

◆ persistent_read()

int32_t persistent_read ( void *  ptr,
uint32_t  size 
)

Definition at line 49 of file settings_arch.c.

References PERSISTENT_SETTINGS_FILE.

◆ persistent_write()

int32_t persistent_write ( void *  ptr,
uint32_t  size 
)

Definition at line 37 of file settings_arch.c.

References PERSISTENT_SETTINGS_FILE.