ardupilot/libraries/AP_HAL_PX4
Lucas De Marchi 293f94b355 AP_HAL_PX4: Util: fix check for PX4_V4
When building for px4-v2 we have an warning because we are checking for
the value of this undefined macro. Just change both checks to use
"defined()".

../../libraries/AP_HAL_PX4/Util.cpp:115:7: warning: "CONFIG_ARCH_BOARD_PX4FMU_V4" is not defined [-Wundef]
 #elif CONFIG_ARCH_BOARD_PX4FMU_V4
       ^
2016-07-19 17:53:46 -03:00
..
examples/simple waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00
AP_HAL_PX4.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_HAL_PX4_Namespace.h Revert "AP_HAL_PX4: use new I2CDevice interface" 2016-05-11 12:19:00 +10:00
AnalogIn.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
AnalogIn.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
GPIO.cpp HAL_PX4: support FMUv4 2015-11-27 18:54:30 +11:00
GPIO.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
HAL_PX4_Class.cpp HAL_PX4: implement I2CDevice driver for PX4 2016-07-15 12:24:03 -03:00
HAL_PX4_Class.h AP_HAL_PX4: Remove unused extern declaration for HALs 2015-11-20 16:32:32 +09:00
I2CDevice.cpp AP_HAL_PX4 : remove unused variable 2016-07-19 17:44:22 -03:00
I2CDevice.h HAL_PX4: implement I2CDevice driver for PX4 2016-07-15 12:24:03 -03:00
I2CDriver.cpp HAL_PX4: implement I2CDevice driver for PX4 2016-07-15 12:24:03 -03:00
I2CDriver.h AP_HAL_PX4: Fix typos 2016-05-13 19:20:06 -03:00
I2CWrapper.h HAL_PX4: implement I2CDevice driver for PX4 2016-07-15 12:24:03 -03:00
NSHShellStream.cpp AP_HAL_PX4: fix passing callback to member function 2015-12-03 07:51:08 +11:00
RCInput.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
RCInput.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
RCOutput.cpp AP_HAL_PX4: skip the 100ms delay on first px4io safety_state async attempt 2016-05-27 11:30:50 -07:00
RCOutput.h AP_HAL_PX4: defer calls to safety_state switch to queue an async attempt. 2016-05-27 21:34:40 +10:00
Scheduler.cpp AP_HAL_PX4: disarm motors on reboot so ensure they are off during bootloader upload 2016-06-04 00:42:43 -07:00
Scheduler.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
Semaphores.cpp HAL_PX4: added Semaphore support 2015-12-20 17:55:39 +11:00
Semaphores.h HAL_PX4: added Semaphore support 2015-12-20 17:55:39 +11:00
Storage.cpp HAL_PX4: work around a bus locking issue on Pixracer 2016-02-23 16:34:06 +11:00
Storage.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
UARTDriver.cpp AP_HAL_PX4: use millis/micros/panic functions 2015-11-20 12:31:13 +09:00
UARTDriver.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
Util.cpp AP_HAL_PX4: Util: fix check for PX4_V4 2016-07-19 17:53:46 -03:00
Util.h HAL_PX4: implement IMU heater in hal.util for Pixhawk2 2016-07-01 15:29:52 +10:00
px4_param.cpp HAL_PX4: fixed build for new px4 param functions 2016-04-14 08:05:04 +10:00
system.cpp AP_HAL_PX4: implement new AP_HAL functions 2015-11-20 12:25:40 +09:00