From e0d61a9c48f8d72a5981b6010953f32c9a84fc02 Mon Sep 17 00:00:00 2001 From: TinyOh Date: Sat, 16 Mar 2019 11:37:57 +0800 Subject: [PATCH] fix: 2.3 firmware core --- src/mynteye/device/channel/channels.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mynteye/device/channel/channels.cc b/src/mynteye/device/channel/channels.cc index 0794aa7..39ba12f 100644 --- a/src/mynteye/device/channel/channels.cc +++ b/src/mynteye/device/channel/channels.cc @@ -475,7 +475,9 @@ bool Channels::GetFiles( if (file_size > 0) { auto &&n = file_channel_.GetImgParamsFromData( data + i, file_size, img_params); - CHECK_EQ(n, file_size); + CHECK_EQ(n, file_size) + << "The firmware not support getting device info, you could " + "upgrade to latest"; } } break; case FID_IMU_PARAMS: { @@ -483,7 +485,9 @@ bool Channels::GetFiles( if (imu_params->ok) { auto &&n = file_channel_.GetImuParamsFromData( data + i, file_size, imu_params); - CHECK_EQ(n, file_size); + CHECK_EQ(n, file_size) + << "The firmware not support getting device info, you could " + "upgrade to latest"; } } break; default: