7
mirror of https://github.com/EEVengers/ThunderScope.git synced 2025-04-08 06:25:30 +00:00

Undo changes to bridge.cpp from PCIe Branch

This commit is contained in:
Andrew Lapadat 2021-03-21 16:30:05 -04:00 committed by GitHub
parent 0af3c713c3
commit bbaf325aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -565,15 +565,14 @@ int Bridge::TxStop() {
HANDLE hfile;
//open a link to the named pipe
HANDLE hfile = CreateFileA((LPCSTR)tx_connection_string,
hfile = CreateFileA((LPCSTR)tx_connection_string,
GENERIC_WRITE | GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, NULL);
if (INVALID_HANDLE_VALUE != hfile) {
//dont do anything on a successful connection other than close the handle
CloseHandle(hfile);
//dont do anything on a successful connection
}
else
{