Permalink
Browse files

Merge pull request #377 from KeithV/master

fixed serial to use more than just _SER0_VECTOR

Former-commit-id: 27684c6
  • Loading branch information...
ricklon committed Jul 26, 2013
2 parents dfb44a6 + af244f2 commit bb237579a129bd951796d698ceca29f29f739e73
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 bb23757

Please sign in to comment.