mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
XNova CRYPT,SHAREDSECRET,PROTECTED_PINS,PULSEPIN12
This commit is contained in:
1
compiled/lighthub21/ListSerialPorts.bat
Normal file
1
compiled/lighthub21/ListSerialPorts.bat
Normal file
@@ -0,0 +1 @@
|
||||
wmic PATH Win32_SerialPort get DeviceID
|
||||
@@ -28,7 +28,7 @@ REM bin file exist?
|
||||
IF NOT EXIST "%BINFILE%" GOTO error_binfile
|
||||
|
||||
REM fetch DeviceID of Arduino Due Programming Port from WMI Service
|
||||
FOR /f "tokens=* skip=1" %%a IN ('wmic PATH Win32_SerialPort Where "Caption LIKE '%%USB%%'" get DeviceID') DO (
|
||||
FOR /f "tokens=* skip=1" %%a IN ('wmic PATH Win32_SerialPort Where "Caption LIKE '%%Due%%'" get DeviceID') DO (
|
||||
SET COMX=%%a
|
||||
GOTO exit1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user