fixed message for vhci mode only linux. and changed readme
This commit is contained in:
@@ -8,6 +8,11 @@ func IsVHCIAvailable() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// VHCIUnavailableError returns an error describing why VHCI is not available.
|
||||
func VHCIUnavailableError() error {
|
||||
return fmt.Errorf("VHCI wird unter Windows nicht unterstuetzt. Der Use-Modus (USB-Geraete empfangen) ist nur unter Linux verfuegbar")
|
||||
}
|
||||
|
||||
func FindFreePort(speed uint32) (int, error) {
|
||||
return -1, fmt.Errorf("VHCI not supported on Windows")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user