mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 03:57:45 +08:00
[settings] fix includes
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
#include "firmwares/rotorcraft/navigation.h"
|
#include "firmwares/rotorcraft/navigation.h"
|
||||||
#include "firmwares/rotorcraft/guidance.h"
|
#include "firmwares/rotorcraft/guidance.h"
|
||||||
#include "firmwares/rotorcraft/stabilization.h"
|
#include "firmwares/rotorcraft/stabilization.h"
|
||||||
|
#include "generated/settings.h"
|
||||||
|
|
||||||
#ifdef POWER_SWITCH_GPIO
|
#ifdef POWER_SWITCH_GPIO
|
||||||
#include "mcu_periph/gpio.h"
|
#include "mcu_periph/gpio.h"
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/settings.h"
|
#include "subsystems/settings.h"
|
||||||
|
#include "generated/settings.h"
|
||||||
|
|
||||||
struct PersistentSettings pers_settings;
|
struct PersistentSettings pers_settings;
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,6 @@ extern bool_t settings_store_flag;
|
|||||||
|
|
||||||
#define settings_StoreSettings(_v) { settings_store_flag = _v; settings_store(); }
|
#define settings_StoreSettings(_v) { settings_store_flag = _v; settings_store(); }
|
||||||
|
|
||||||
#include "generated/settings.h"
|
|
||||||
|
|
||||||
/* implemented in arch dependant code */
|
/* implemented in arch dependant code */
|
||||||
int32_t persistent_write(uint32_t ptr, uint32_t size);
|
int32_t persistent_write(uint32_t ptr, uint32_t size);
|
||||||
int32_t persistent_read(uint32_t ptr, uint32_t size);
|
int32_t persistent_read(uint32_t ptr, uint32_t size);
|
||||||
|
|||||||
Reference in New Issue
Block a user