changed bank count to 5

This commit is contained in:
Tobias Pflug 2009-11-01 11:54:35 +01:00
parent b927fbf93b
commit 0a9a87f3bd
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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) {