mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
This commit is contained in:
@@ -145,7 +145,7 @@ bool TPoKeys55::Connect()
|
||||
DeviceIDFromRegistry = ToLower( DeviceIDFromRegistry );
|
||||
DeviceIDToFind = ToLower( DeviceIDToFind );
|
||||
// Now check if the hardware ID we are looking at contains the correct VID/PID
|
||||
MatchFound = ( DeviceIDFromRegistry.find( DeviceIDToFind ) != std::string::npos );
|
||||
MatchFound = ( contains( DeviceIDFromRegistry, DeviceIDToFind ) );
|
||||
if (MatchFound == true)
|
||||
{
|
||||
// Device must have been found. Open read and write handles. In order to do this,we
|
||||
|
||||
Reference in New Issue
Block a user