Merge branch 'mover_in_c++' into mover_in_c++

This commit is contained in:
maciek001
2017-03-15 12:04:14 +01:00
committed by GitHub
228 changed files with 7336 additions and 60131 deletions

View File

@@ -45,7 +45,7 @@ bool TLPT::Connect(int port)
case 0xBD00:
OutPort(address + 0x006, 0); // 0xBC06? czysta improwizacja
}
return bool(OutPort);
return OutPort != 0;
};
void TLPT::Out(int x)

View File

@@ -189,7 +189,6 @@ bool TMWDComm::ReadData() // odbieranie danych + odczyta danych analogowych i za
bool TMWDComm::SendData() // wysyłanie danych
{
DWORD bytes_write;
DWORD fdwEvtMask;
WriteFile(hComm, &WriteDataBuff[0], BYTETOWRITE, &bytes_write, NULL);

View File

@@ -70,7 +70,6 @@ bool TPoKeys55::Connect()
PBYTE PropertyValueBuffer;
bool MatchFound;
DWORD ErrorStatus;
HDEVINFO hDevInfo;
std::string DeviceIDFromRegistry;
std::string DeviceIDToFind = "Vid_1dc3&Pid_1001&Rev_1000&MI_01";
// First populate a list of plugged in devices (by specifying "DIGCF_PRESENT"), which are of the