signal11 / m-stack

Free USB Stack for PIC 16F, 18F, 24F, and 32MX Microcontrollers

Home Page:http://www.signal11.us/oss/m-stack/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing parenthesis in firmware main.c

limpkin opened this issue · comments

Here: https://github.com/signal11/m-stack/blob/master/apps/bootloader/firmware/main.c#L309

should be changed to:

read_address = setup->wValue | (((uint32_t) setup->wIndex) << 16);

nevermind.... bad debugging on my side!