tester changes

This commit is contained in:
Michael Ossmann
2013-12-20 14:44:21 -07:00
parent d32a6c156b
commit a2e436e3a8
3 changed files with 3 additions and 3 deletions

View File

@ -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=2600000000; static uint32_t MAX2837_FREQ_NOMINAL_HZ=2700000000;
#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;

View File

@ -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 (0x604B) #define USB_PRODUCT_ID (0xFFFF)
#define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF) #define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF)

View File

@ -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 = 0x604b; static const uint16_t hackrf_usb_pid = 0xffff;
static libusb_context* g_libusb_context = NULL; static libusb_context* g_libusb_context = NULL;