Skip to content

Commit

Permalink
fix copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Nov 29, 2015
1 parent 71e627e commit f4f45ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtlsdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ const (
libErrorInterrupted
libErrorNoMem
libErrorNotSupported
linErrorInvalidParameter = EINVAL
libErrorOther = LIBUSB_ERROR_OTHER
linErrorInvalidParam = EINVAL
libErrorOther = LIBUSB_ERROR_OTHER
)

// Sampling modes.
Expand All @@ -152,7 +152,7 @@ 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"),
libErrorOther: errors.New("invalid parameter"),
linErrorInvalidParam: errors.New("invalid parameter"),
libErrorOther: errors.New("unknown error"),
}

Expand Down

0 comments on commit f4f45ae

Please sign in to comment.