From 0a9a87f3bd5512cce8d8769d9d733e860c4482e8 Mon Sep 17 00:00:00 2001 From: Tobias Pflug Date: Sun, 1 Nov 2009 11:54:35 +0100 Subject: [PATCH] changed bank count to 5 --- tools/qdips/Makefile | 2 +- tools/qdips/qdips.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/qdips/Makefile b/tools/qdips/Makefile index 49cca29..37e6fd2 100644 --- a/tools/qdips/Makefile +++ b/tools/qdips/Makefile @@ -1,7 +1,7 @@ USBFLAGS = `libusb-config --cflags` USBLIBS = `libusb-config --libs` -CC = llvm-gcc +CC = gcc CFLAGS = $(CPPFLAGS) $(USBFLAGS) -O -g -Wall -D_GNU_SOURCE --std=c99 LIBS = $(USBLIBS) diff --git a/tools/qdips/qdips.c b/tools/qdips/qdips.c index 7ba0aa2..a6b47a9 100644 --- a/tools/qdips/qdips.c +++ b/tools/qdips/qdips.c @@ -249,7 +249,8 @@ int qd16_init(void) USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, USB_BULK_UPLOAD_INIT, (hirom ? HIROM_BANK_SIZE_SHIFT : LOROM_BANK_SIZE_SHIFT) , - (hirom ? HIROM_BANK_COUNT_SHIFT : LOROM_BANK_COUNT_SHIFT), + /*(hirom ? HIROM_BANK_COUNT_SHIFT : LOROM_BANK_COUNT_SHIFT), */ + 5, NULL, 0, 5000); if (cnt<0) {