23.06.2014 - PICodeParser, PICodeInfo, PIConnection, new binary "pip_cmg"
This commit is contained in:
@@ -388,6 +388,13 @@ PICout operator<<(PICout s, const PIUSB::Endpoint & v) {
|
||||
}
|
||||
|
||||
|
||||
PIString PIUSB::constructFullPath() const {
|
||||
PIString ret(fullPathPrefix() + "://");
|
||||
ret << PIString::fromNumber(vendorID(), 16).toLowerCase() << ":" << PIString::fromNumber(productID(), 16).toLowerCase() << ":" << deviceNumber() << ":" << endpointRead().address << ":" << endpointWrite().address;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
void PIUSB::configureFromFullPath(const PIString & full_path) {
|
||||
PIStringList pl = full_path.split(":");
|
||||
for (int i = 0; i < pl.size_s(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user