Date:2011-07-12 09:40:03 (12 years 8 months ago)
Author:Werner Almesberger
Commit:c47f52d6ca056f697081b3ef1f6aef2e5de16cc4
Message:atusb/fw/board_app.c (INT0_vect): limit interrupt serials to 0x00-0x7f

This leaves the range 0x80-0xff 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) & 0x7f;
161161        usb_send(&eps[1], &irq_serial, 1, done, NULL);
162162    }
163163}

Archive Download the corresponding diff file



interactive