mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tracker: consolidate camera dummy functions into system.cpp
This commit is contained in:
parent
fba5787048
commit
bb91ea90cb
@ -1,13 +0,0 @@
|
||||
/* dummy methods to avoid having to link against AP_Camera */
|
||||
|
||||
#include <AP_Camera/AP_Camera.h>
|
||||
|
||||
namespace AP {
|
||||
AP_Camera *camera() {
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
void AP_Camera::take_picture()
|
||||
{
|
||||
}
|
@ -275,6 +275,13 @@ void AP_Camera::control_msg(const mavlink_message_t &) {}
|
||||
void AP_Camera::configure(float, float, float, float, float, float, float) {}
|
||||
void AP_Camera::control(float, float, float, float, float, float) {}
|
||||
void AP_Camera::send_feedback(mavlink_channel_t chan) {}
|
||||
void AP_Camera::take_picture() {}
|
||||
namespace AP {
|
||||
AP_Camera *camera() {
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
/* end dummy methods to avoid having to link against AP_Camera */
|
||||
|
||||
// dummy method to avoid linking AFS
|
||||
|
Loading…
Reference in New Issue
Block a user