OreoLED_PX4: available only on PX4

This commit is contained in:
Randy Mackay 2015-03-02 15:09:08 +09:00
parent f1ce70e748
commit 51213235b4

View File

@ -17,6 +17,8 @@
#ifndef __OREOLED_PX4_H__
#define __OREOLED_PX4_H__
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
#include <AP_HAL.h>
#include "NotifyDevice.h"
#include <drivers/drv_oreoled.h>
@ -90,4 +92,6 @@ private:
uint8_t _pattern_override; // holds last processed pattern override, 0 if we are not overriding a pattern
};
#endif // CONFIG_HAL_BOARD == HAL_BOARD_PX4
#endif // __OREOLED_PX4_H__