mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-04 23:14:06 +02:00
atusb/fw/board_app.c (INT0_vect): limit interrupt serials to 0x80-0xff
This leaves the range 0x00-0x7f for other uses.
This commit is contained in:
parent
97604d70f2
commit
7cae01bc0e
@ -157,7 +157,7 @@ ISR(INT0_vect)
|
||||
{
|
||||
if (eps[1].state == EP_IDLE) {
|
||||
led(1);
|
||||
irq_serial++;
|
||||
irq_serial = (irq_serial+1) | 0x80;
|
||||
usb_send(&eps[1], &irq_serial, 1, done, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user