Skip to content

Commit

Permalink
Apply pre-commit fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Czapla <[email protected]>
  • Loading branch information
SebastianCzapla committed Dec 18, 2024
1 parent 8d6656a commit 2a23060
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 deletions keywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -755,20 +755,21 @@ Get Sound Devices Windows
[Documentation] Get and return sound devices via PowerShell
... filtered as all devices, audio-sink only, or microphones only
[Arguments] ${filter}
IF '${filer}' == 'all'
IF '${filter}' == 'all'
${out}= Execute Command In Terminal
... Get-PnpDevice -PresentOnly | Where-Object {$_.Class -match "Audio"} | Select-Object Name, Status
ELSE IF '${filter}' == 'sink'
${out}= Execute Command In Terminal
... Get-PnpDevice -PresentOnly | Where-Object {($_.Class -match "Audio") -and ($_.Name -match "Speaker" -or $_.Name -match "HDMI" -or $_.Name -match "Output")} | Select-Object Name, Status
... Get-PnpDevice -PresentOnly | \
... Where-Object {($_.Class -match "Audio") -and ($_.Name -match "Speaker" -or $_.Name -match "HDMI" -or $_.Name -match "Output")} | Select-Object Name, Status
ELSE IF '${filter}' == 'microphone'
${out}= Execute Command In Terminal
... Get-PnpDevice -PresentOnly | Where-Object {$_.Class -match "Audio" -and $_.Name -match "Microphone"} | Select-Object Name, Status
ELSE IF '${filter}' == 'HDMI'
${out}= Execute Command In Terminal
... Get-PnpDevice -PresentOnly | Where-Object {$_.Class -match "Audio" -and $_.Name -match "HDMI"} | Select-Object Name, Status
END
RETURN ${out}
RETURN ${out}

Get USB Devices Windows
[Documentation] Get and return all USB devices in Windows OS using
Expand Down
20 changes: 10 additions & 10 deletions platform-configs/protectli-vp2430.robot
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ ${PLATFORM_RAM_SIZE}= 16384

${CPU}= Intel(R) N100

${DEVICE_AUDIO_SRC}= Alderlake-P HDMI
${DEVICE_AUDIO_SRC_WIN}= ${TBD}
${DEVICE_AUDIO_HDMI}= Alderlake-P HDMI
${DEVICE_AUDIO_HDMI_WIN}= ${TBD}
${DEVICE_AUDIO_HEADSET}= Alderlake-P HDMI
${DEVICE_AUDIO_HEADSET_WIN}= ${TBD}
${DEVICE_AUDIO_MIC}= Alderlake-P HDMI
${DEVICE_AUDIO_MIC_WIN}= ${TBD}
${DEVICE_AUDIO_HEADSET_MIC}= Alderlake-P HDMI
${DEVICE_AUDIO_HEADSET_MIC_WIN}= ${TBD}
${DEVICE_AUDIO_SRC}= Alderlake-P HDMI
${DEVICE_AUDIO_SRC_WIN}= ${TBD}
${DEVICE_AUDIO_HDMI}= Alderlake-P HDMI
${DEVICE_AUDIO_HDMI_WIN}= ${TBD}
${DEVICE_AUDIO_HEADSET}= Alderlake-P HDMI
${DEVICE_AUDIO_HEADSET_WIN}= ${TBD}
${DEVICE_AUDIO_MIC}= Alderlake-P HDMI
${DEVICE_AUDIO_MIC_WIN}= ${TBD}
${DEVICE_AUDIO_HEADSET_MIC}= Alderlake-P HDMI
${DEVICE_AUDIO_HEADSET_MIC_WIN}= ${TBD}

# On Windows: "Killer(R) Wi-Fi 6 AX1650x 160MHz Wireless Network Adapter (200NGW)"
${WIFI_CARD}=
Expand Down

0 comments on commit 2a23060

Please sign in to comment.