Skip to content

Commit

Permalink
[settings] fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Sep 15, 2014
1 parent 7f31698 commit f02bc5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions sw/airborne/firmwares/rotorcraft/autopilot.c
Expand Up @@ -39,6 +39,7 @@
#include "firmwares/rotorcraft/navigation.h"
#include "firmwares/rotorcraft/guidance.h"
#include "firmwares/rotorcraft/stabilization.h"
#include "generated/settings.h"

#ifdef POWER_SWITCH_GPIO
#include "mcu_periph/gpio.h"
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/settings.c
Expand Up @@ -26,7 +26,7 @@
*/

#include "subsystems/settings.h"

#include "generated/settings.h"

struct PersistentSettings pers_settings;

Expand Down
2 changes: 0 additions & 2 deletions sw/airborne/subsystems/settings.h
Expand Up @@ -37,8 +37,6 @@ extern bool_t settings_store_flag;

#define settings_StoreSettings(_v) { settings_store_flag = _v; settings_store(); }

#include "generated/settings.h"

/* implemented in arch dependant code */
int32_t persistent_write(uint32_t ptr, uint32_t size);
int32_t persistent_read(uint32_t ptr, uint32_t size);
Expand Down

0 comments on commit f02bc5f

Please sign in to comment.