mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
79dee5aaa9
This was introduced with the HAL rework: In file included from /p/ardupilot/libraries/AP_HAL/AP_HAL.h:11:0, from /p/ardupilot/ArduCopter/Copter.h:35, from /p/ardupilot/ArduCopter/ArduCopter.cpp:76: /p/ardupilot/ArduCopter/ArduCopter.cpp: In function 'int ArduPilot_main(int, char* const*)': /p/ardupilot/libraries/AP_HAL/AP_HAL_Main.h:11:26: warning: no previous declaration for 'int ArduPilot_main(int, char* const*)' [-Wmissing-declarations] #define AP_MAIN __EXPORT ArduPilot_main ^ It's due to PX4 using that warning as opposed to Linux. Since it harmless, add the prototype for everybody. |
||
---|---|---|
.. | ||
examples | ||
utility | ||
AnalogIn.h | ||
AP_HAL_Boards.h | ||
AP_HAL_Macros.h | ||
AP_HAL_Main.h | ||
AP_HAL_Namespace.h | ||
AP_HAL.h | ||
GPIO.h | ||
HAL.cpp | ||
HAL.h | ||
I2CDriver.h | ||
RCInput.h | ||
RCOutput.h | ||
Scheduler.h | ||
Semaphores.h | ||
SPIDriver.h | ||
Storage.h | ||
UARTDriver.cpp | ||
UARTDriver.h | ||
Util.cpp | ||
Util.h |