Commit 9b54030e authored by Rongkun Wang's avatar Rongkun Wang 🎡
Browse files

bug fix

parent e6030a65
Pipeline #1164915 failed with stages
......@@ -105,7 +105,6 @@ void talk_elink(Config& config, std::vector<ScaInfo> & foundSca, unsigned int el
{
foundSca[config.Ielink].present = true;
foundSca[config.Ielink].id = sca.getChipId();
++config.Ielink;
}
else
{
......@@ -122,6 +121,10 @@ void talk_elink(Config& config, std::vector<ScaInfo> & foundSca, unsigned int el
{
LOG(Log::ERR) << "Exception: " << e.what();
}
if (config.elinks.size() > 0)
++config.Ielink;
}
int main (int argc, char* argv[])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment