From 1c8f6c2ee59a636b0e7c00e1e7e9ee3d1c45a223 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 3 Nov 2015 11:46:29 -0200 Subject: [PATCH] AP_Camera: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 --- libraries/AP_Camera/AP_Camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Camera/AP_Camera.h b/libraries/AP_Camera/AP_Camera.h index c8eeea0da8..f05ae91ddd 100644 --- a/libraries/AP_Camera/AP_Camera.h +++ b/libraries/AP_Camera/AP_Camera.h @@ -71,7 +71,7 @@ private: AP_Int16 _servo_on_pwm; // PWM value to move servo to when shutter is activated AP_Int16 _servo_off_pwm; // PWM value to move servo to when shutter is deactivated uint8_t _trigger_counter; // count of number of cycles shutter has been held open - AP_Relay *_apm_relay; // pointer to relay object from the base class Relay. The subclasses could be AP_Relay_APM1 or AP_Relay_APM2 + AP_Relay *_apm_relay; // pointer to relay object from the base class Relay. void servo_pic(); // Servo operated camera void relay_pic(); // basic relay activation