Update for tutoyials

This commit is contained in:
kalman
2018-12-18 10:44:26 +08:00
parent f59c918e81
commit 61b0d85292
7 changed files with 23 additions and 104 deletions

View File

@@ -36,7 +36,7 @@ std::shared_ptr<Device> select() {
LOG(ERROR) << "No MYNT EYE devices :(";
return nullptr;
}
/*
LOG(INFO) << "MYNT EYE devices:";
for (size_t i = 0; i < n; i++) {
auto &&device = devices[i];
@@ -44,7 +44,7 @@ std::shared_ptr<Device> select() {
<< ", name: " << device->GetInfo(Info::DEVICE_NAME)
<< ", sn: " << device->GetInfo(Info::SERIAL_NUMBER);
}
*/
std::shared_ptr<Device> device = nullptr;
if (n <= 1) {
device = devices[0];