diff --git a/src/piex_types.h b/src/piex_types.h index cf33a21..35e2704 100644 --- a/src/piex_types.h +++ b/src/piex_types.h @@ -68,9 +68,9 @@ struct PreviewImageData { // Indicates if the gps data is valid to use. bool is_valid = false; - char latitude_ref; // Either 'N' or 'S' + char latitude_ref = 'N'; // Either 'N' or 'S' Rational latitude[3]; - char longitude_ref; // Either 'E' or 'W' + char longitude_ref = 'E'; // Either 'E' or 'W' Rational longitude[3]; bool altitude_ref = false; // true is above, false below sea level Rational altitude;