Quote:
Originally Posted by ILAMtitan
shouldn't cause any problems with the USB stack.
|
Thanks, but now that I think of it we probably should have cleared the interrupt flag *after* incrementing/decrementing the counter instead of before. Nonetheless, it does seem to work OK as-is.