Flip phase of SGPIO enable, to shift samples captured from incorrect "Q0/I1, Q1/I2" to "Q0/I0, Q1/I1".
Update CPLD bitstreams.
Merge branch 'master' of https://github.com/mossmann/hackrf
Merge branch 'master' of https://github.com/mossmann/hackrf
Merge branch 'master' of git://github.com/mossmann/hackrf
Merge branch 'master' of git://github.com/mossmann/hackrf
Cleanup wave_file_hdr declaration for string WAVE ... thanks Hoernchen for the info.
* Modified API hackrf_is_streaming() now it returns an int HACKRF_TRUE when streaming is running.
* Added new hackrf_error especially for streaming to return more details.
* Adding management of usb transfer cancelled for hackrf_stop_rx()/hackrf_stop_tx().
* Added robustness on hackrf_close() to correctly close libusb related stuff even if USB device is removed or other problems.
* Fixed threading problems (start, stop() then start() ...).
* Cleanup the whole code.
Merge pull request #47 from TitanMKD/master

libhackrf fix and cleanup
Fixed libhackrf, hackrf_cpldjtag (host) & usb_performance (firmware) to update CPLD through USB.
Use latest CPLD bitstream with following command line:
hackrf_cpldjtag.exe -x hackrf\hardware\jellybean\sgpio_if\default.xsvf
Merge remote-tracking branch 'mossmann/master'

Conflicts:
	hardware/jellybean/sgpio_if/default.svf
	hardware/jellybean/sgpio_if/default.xsvf
	hardware/jellybean/sgpio_if/top.jed
	hardware/jellybean/sgpio_if/top.vhd
Tweak C/CXX_FLAGS to separate language standard used for C and C++ files.
Added SCU pinmux data for USB LEDs, configured USB LEDs to be outputs (not float).
PLL1 was misconfigured to run at 408MHz (way out of spec) instead of 204MHz. Corrected this by using DIRECT=1 instead of FBSEL=1.
Slowed down edges on LED and power enable signals -- they don't need to be fast, and this *might* have a negligible but positive effect on noise.
Oops, read PLL1 documentation again. Looks like FBSEL=1 is for "normal operation". So include that, but use DIRECT=1 to skip the PSEL divider (which would prevent us producing 204MHz from an in-spec PLL frequency).
Merge pull request #48 from TitanMKD/master

 Fixed libhackrf, hackrf_cpldjtag (host) & usb_performance (firmware)
Merge branch 'master' of https://github.com/mossmann/hackrf
Merge pull request #49 from jboone/master

Dubious pull request containing...
commenting out CGU_PLL1_CTRL_DIRECT=1 because it breaks boot from spifi
New license for libhackrf based on http://opensource.org/licenses/BSD-3-Clause