Camera: initialise image_index

This commit is contained in:
Randy Mackay 2014-10-31 12:35:39 +09:00
parent 44dbf50101
commit ad7a9bf81b
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ public:
/// Constructor
///
AP_Camera(AP_Relay *obj_relay) :
_trigger_counter(0) // count of number of cycles shutter has been held open
_trigger_counter(0), // count of number of cycles shutter has been held open
_image_index(0)
{
AP_Param::setup_object_defaults(this, var_info);
_apm_relay = obj_relay;