Permalink
Browse files

fixed serial to use more than just _SER0_VECTOR

  • Loading branch information...
1 parent eb37989 commit ed33b895c20eacfc77ca9fa009582f7f708df558 @KeithV KeithV committed Jul 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 hardware/pic32/cores/pic32/HardwareSerial.cpp
@@ -207,7 +207,7 @@ void HardwareSerial::begin(unsigned long baudRate)
mapPps(pinRx, ppsRx);
#endif
- setIntVector(_SER0_VECTOR, isr);
+ setIntVector(vec, isr);
/* Set the interrupt privilege level and sub-privilege level
*/

0 comments on commit ed33b89

Please sign in to comment.