si clock for the lpc
firmware: remove 5mhz option
tools: fix hackrf_si5351c to print ms6 and 7

6 and 7 are integer only. Also fixes printing of the output divider
value.
lib: fix mingw
Fixed warnings on %lld and %llu
tools: add gain control
Revert Warnings fix as it works only for C99 so keep the old version with warnings.
disable si clock to lpc

leaving it on but unused causes major spurs to appear all over the
place..
Merge pull request #66 from Hoernchen/siclock

si clock for the lpc
firmware/build: Use gnu99 coding convention

C99 doesn't require/support anonymous struct/unions in some GCC versions
and those are used a lot.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
libhackrf: Add a pkgconfig .pc file to allow auto-discovery of prefix

Shamelessly copied from librtlsdr.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
libhackrf: Fix early exit of transfer thread in case of syscal interruption

libusb can return LIBUSB_ERROR_INTERRUPTED and it's not really an error,
just a sign some syscall got interrupted by something. Don't abort on
that.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Correct help text for hackrf_transfer

Option for 5 MHz sample-rate was removed, show correct minimal
sample-rate of 8 MHz
Merge pull request #70 from fd0/correct-help-text

Correct help text for hackrf_transfer
Merge pull request #68 from smunaut/pending

Misc patches I needed to make it work properly
lib: fractional sample rates
firmware: fractional sample rates
lib: make BE people happy
lib: actually handle the value returned by the fw when setting the gains
Merge pull request #72 from Hoernchen/siclock

fractional sample rates, and so on