pichar and pistring explicit test
This commit is contained in:
@@ -175,11 +175,11 @@ public:
|
||||
|
||||
void setVendorID(ushort vid) {
|
||||
vid_ = vid;
|
||||
setPath(PIString::fromNumber(vid_, 16).expandLeftTo(4, "0") + ":" + PIString::fromNumber(pid_, 16).expandLeftTo(4, "0"));
|
||||
setPath(PIString::fromNumber(vid_, 16).expandLeftTo(4, '0') + ':' + PIString::fromNumber(pid_, 16).expandLeftTo(4, '0'));
|
||||
}
|
||||
void setProductID(ushort pid) {
|
||||
pid_ = pid;
|
||||
setPath(PIString::fromNumber(vid_, 16).expandLeftTo(4, "0") + ":" + PIString::fromNumber(pid_, 16).expandLeftTo(4, "0"));
|
||||
setPath(PIString::fromNumber(vid_, 16).expandLeftTo(4, '0') + ':' + PIString::fromNumber(pid_, 16).expandLeftTo(4, '0'));
|
||||
}
|
||||
|
||||
bool setConfiguration(uchar value);
|
||||
|
||||
Reference in New Issue
Block a user