Modified the COM port scanner to scan from COM1 to COM99.

This commit is contained in:
skarg
2009-05-27 20:15:51 +00:00
parent c13ece98e9
commit 2170374470
@@ -752,7 +752,7 @@ void JobInfo::doJob()
{ {
Util.log( "Scanning COM ports for supported programmer...\n\r" ); Util.log( "Scanning COM ports for supported programmer...\n\r" );
for( scanCOM = 1; scanCOM <= 8; scanCOM++ ) for( scanCOM = 1; scanCOM <= 99; scanCOM++ )
{ {
Util.progress( "COM" + Util.convertLong( scanCOM ) + "...\r\n" ); Util.progress( "COM" + Util.convertLong( scanCOM ) + "...\r\n" );
@@ -782,7 +782,7 @@ void JobInfo::doJob()
} }
/* Exit if no supported programmers found */ /* Exit if no supported programmers found */
if( scanCOM > 8 ) if( scanCOM > 99 )
{ {
Util.log( "No supported programmers found!\r\n" ); Util.log( "No supported programmers found!\r\n" );
return; return;