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:
parent
0af3c713c3
commit
bbaf325aca
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user