diff options
author | px4dev <px4@purgatory.org> | 2012-10-27 22:42:43 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-27 22:42:43 -0700 |
commit | 98791bc6740bcbcbb355befd7c57ff22b9583bb5 (patch) | |
tree | 914489e23ada4e6cef04f426343c676fe6eec38d /apps/drivers/boards | |
parent | 22b0add293f7aa7f1331fab61f5141f647e0188f (diff) | |
download | px4-firmware-98791bc6740bcbcbb355befd7c57ff22b9583bb5.tar.gz px4-firmware-98791bc6740bcbcbb355befd7c57ff22b9583bb5.tar.bz2 px4-firmware-98791bc6740bcbcbb355befd7c57ff22b9583bb5.zip |
Remove reboot() API, replace with a prototype for up_systemreset() which is portable.
Diffstat (limited to 'apps/drivers/boards')
-rw-r--r-- | apps/drivers/boards/px4fmu/px4fmu_internal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/drivers/boards/px4fmu/px4fmu_internal.h b/apps/drivers/boards/px4fmu/px4fmu_internal.h index 1ae9e4c29..6550fdf3d 100644 --- a/apps/drivers/boards/px4fmu/px4fmu_internal.h +++ b/apps/drivers/boards/px4fmu/px4fmu_internal.h @@ -47,7 +47,11 @@ #include <nuttx/compiler.h> #include <stdint.h> -#include "stm32_internal.h" +__BEGIN_DECLS + +/* these headers are not C++ safe */ +#include <stm32_internal.h> + /**************************************************************************************************** * Definitions @@ -153,3 +157,5 @@ extern void stm32_spiinitialize(void); #endif /* __ASSEMBLY__ */ + +__END_DECLS |