Commit 627a3a30 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files
parents 30211cb8 f1b75869
......@@ -61,6 +61,11 @@ void CUSBI2C::open(const std::string &serial)
throw CUSBI2CException(_HERE_,"No FTDI device available with the desired serial number.");
}
}
else
{
/* handle exceptions */
throw CUSBI2CException(_HERE_,"No FTDI devices available.");
}
}
unsigned char CUSBI2C::get_revision(void)
......
Supports Markdown
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