From ed33b895c20eacfc77ca9fa009582f7f708df558 Mon Sep 17 00:00:00 2001 From: Keith Vogel Date: Thu, 25 Jul 2013 14:16:52 -0700 Subject: [PATCH] fixed serial to use more than just _SER0_VECTOR --- hardware/pic32/cores/pic32/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/pic32/cores/pic32/HardwareSerial.cpp b/hardware/pic32/cores/pic32/HardwareSerial.cpp index 1c54ea073..67fc5c070 100644 --- a/hardware/pic32/cores/pic32/HardwareSerial.cpp +++ b/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 */