Commit f3f4df2a authored by Jens Korinth's avatar Jens Korinth

tapasco_benchmark: Fix bug in Platform guess

* now using host name as platform, if unknown
parent 63d0282e
......@@ -70,7 +70,8 @@ int main(int argc, const char *argv[]) {
cerr << "Could not get host name, guessing vc709 Platform" << endl;
else {
cout << "Host name: " << n << endl;
if (string(n).compare("zed") == 0 || string(n).compare("zedboard"))
platform = n;
if (string(n).compare("zed") == 0 || string(n).compare("zedboard") == 0)
platform = "zedboard";
if (string(n).compare("zc706") == 0)
platform = "zc706";
......
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