Date:2011-07-12 09:40:03 (9 years 1 month ago)
Author:Werner Almesberger
Commit:7cae01bc0e04d95652b433c2dad503bd62973370
Message:atusb/fw/board_app.c (INT0_vect): limit interrupt serials to 0x80-0xff

This leaves the range 0x00-0x7f for other uses.
Files: atusb/fw/board_app.c (1 diff)

Change Details

atusb/fw/board_app.c
157157{
158158    if (eps[1].state == EP_IDLE) {
159159        led(1);
160        irq_serial++;
160        irq_serial = (irq_serial+1) | 0x80;
161161        usb_send(&eps[1], &irq_serial, 1, done, NULL);
162162    }
163163}

Archive Download the corresponding diff file



interactive