mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: fixed build on non-PX4 systems
This commit is contained in:
parent
9b273e6254
commit
dea36c1ae9
|
@ -6,6 +6,9 @@
|
||||||
try to access FRAM in an invalid manner
|
try to access FRAM in an invalid manner
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <AP_HAL.h>
|
||||||
|
|
||||||
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||||
#include <px4_defines.h>
|
#include <px4_defines.h>
|
||||||
#include <px4_posix.h>
|
#include <px4_posix.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -33,3 +36,5 @@ int param_set(param_t param, const void *val)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // CONFIG_HAL_BOARD
|
||||||
|
|
Loading…
Reference in New Issue