fix(*): rename is_etc

This commit is contained in:
kalman
2019-03-29 17:28:10 +08:00
parent 5017d5c901
commit bab2e23e39
3 changed files with 8 additions and 8 deletions

View File

@@ -661,13 +661,13 @@ struct MYNTEYE_API ImgData {
/** Image exposure time, virtual value in [1, 480] */
std::uint16_t exposure_time;
/** Is external time source */
bool is_etc = false;
bool is_ets = false;
void Reset() {
frame_id = 0;
timestamp = 0;
exposure_time = 0;
is_etc = false;
is_ets = false;
}
ImgData() {
@@ -677,13 +677,13 @@ struct MYNTEYE_API ImgData {
frame_id = other.frame_id;
timestamp = other.timestamp;
exposure_time = other.exposure_time;
is_etc = other.is_etc;
is_ets = other.is_ets;
}
ImgData &operator=(const ImgData &other) {
frame_id = other.frame_id;
timestamp = other.timestamp;
exposure_time = other.exposure_time;
is_etc = other.is_etc;
is_ets = other.is_ets;
return *this;
}
};