diff --git a/rtlsdr.go b/rtlsdr.go index 00c4798..868acb3 100644 --- a/rtlsdr.go +++ b/rtlsdr.go @@ -125,8 +125,7 @@ const ( libErrorInterrupted libErrorNoMem libErrorNotSupported - linErrorInvalidParam = EINVAL - libErrorOther = LIBUSB_ERROR_OTHER + libErrorOther = LIBUSB_ERROR_OTHER ) // Sampling modes. @@ -151,7 +150,6 @@ var libErrMap = map[int]error{ libErrorInterrupted: errors.New("system call interrupted (perhaps due to signal)"), libErrorNoMem: errors.New("insufficient memory"), libErrorNotSupported: errors.New("operation not supported or unimplemented on this platform"), - linErrorInvalidParam: errors.New("invalid parameter"), libErrorOther: errors.New("unknown error"), }