mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_Camera: move defintiion of HAL_RUNCAM_ENABLED into AP_Camera_config.h
This commit is contained in:
parent
1de229debc
commit
ca9a504c4f
@ -49,3 +49,7 @@
|
||||
#ifndef AP_CAMERA_SET_CAMERA_SOURCE_ENABLED
|
||||
#define AP_CAMERA_SET_CAMERA_SOURCE_ENABLED HAL_MOUNT_SET_CAMERA_SOURCE_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef HAL_RUNCAM_ENABLED
|
||||
#define HAL_RUNCAM_ENABLED 1
|
||||
#endif
|
||||
|
@ -21,11 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_RUNCAM_ENABLED
|
||||
#define HAL_RUNCAM_ENABLED 1
|
||||
#endif
|
||||
#include "AP_Camera_config.h"
|
||||
|
||||
#if HAL_RUNCAM_ENABLED
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user