|
@@ -39,8 +39,8 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
|
|
|
// ¿ªÊ¼¼àÌý;
|
|
|
StartMonitor();
|
|
|
|
|
|
- //RTK_USBUpgrade(9, 0x1B); // ESC¼üÉý¼¶;
|
|
|
- RTK_USBUpgrade(9, 0x09); // TAB¼üÉý¼¶;
|
|
|
+ //RTK_USBUpgrade(0x1B); // ESC¼üÉý¼¶;
|
|
|
+ RTK_USBUpgrade(0x09); // TAB¼üÉý¼¶;
|
|
|
|
|
|
Sleep(30000);
|
|
|
CloseTVPort();
|
|
@@ -112,7 +112,7 @@ SERIALWATCH_API void ClearBuffer()
|
|
|
g_TVPort.ClearBuffer();
|
|
|
}
|
|
|
|
|
|
-SERIALWATCH_API bool RTK_USBUpgrade(INT nPort, BYTE byKey)
|
|
|
+SERIALWATCH_API bool RTK_USBUpgrade(BYTE byKey)
|
|
|
{
|
|
|
bool bRet = false;
|
|
|
if ( IsOpen() ) {
|