reverted a2e436e from incorrect merge
This commit is contained in:
@ -96,7 +96,7 @@ void update_switches(void)
|
|||||||
#define MIN_HP_FREQ_MHZ (2700)
|
#define MIN_HP_FREQ_MHZ (2700)
|
||||||
#define MAX_HP_FREQ_MHZ (6800)
|
#define MAX_HP_FREQ_MHZ (6800)
|
||||||
|
|
||||||
static uint32_t MAX2837_FREQ_NOMINAL_HZ=2700000000;
|
static uint32_t MAX2837_FREQ_NOMINAL_HZ=2600000000;
|
||||||
#define MAX2837_FREQ_NOMINAL_MHZ (MAX2837_FREQ_NOMINAL_HZ / FREQ_ONE_MHZ)
|
#define MAX2837_FREQ_NOMINAL_MHZ (MAX2837_FREQ_NOMINAL_HZ / FREQ_ONE_MHZ)
|
||||||
|
|
||||||
uint32_t freq_mhz_cache=100, freq_hz_cache=0;
|
uint32_t freq_mhz_cache=100, freq_hz_cache=0;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "usb_type.h"
|
#include "usb_type.h"
|
||||||
|
|
||||||
#define USB_VENDOR_ID (0x1D50)
|
#define USB_VENDOR_ID (0x1D50)
|
||||||
#define USB_PRODUCT_ID (0xFFFF)
|
#define USB_PRODUCT_ID (0x604B)
|
||||||
|
|
||||||
#define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF)
|
#define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF)
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ static const max2837_ft_t max2837_ft[] = {
|
|||||||
volatile bool do_exit = false;
|
volatile bool do_exit = false;
|
||||||
|
|
||||||
static const uint16_t hackrf_usb_vid = 0x1d50;
|
static const uint16_t hackrf_usb_vid = 0x1d50;
|
||||||
static const uint16_t hackrf_usb_pid = 0xffff;
|
static const uint16_t hackrf_usb_pid = 0x604b;
|
||||||
|
|
||||||
static libusb_context* g_libusb_context = NULL;
|
static libusb_context* g_libusb_context = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user