Bayley Wang / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   FastPWM3 mbed

Files at this revision

API Documentation at this revision

Comitter:
bwang
Date:
Wed Feb 14 01:33:47 2018 +0000
Parent:
205:5cfe6d7e08a3
Child:
207:56ab30e84525
Commit message:
02/13/2017 20:33 - set serial RX interrupt to be lower priority than commutation interrupt

Changed in this revision

BREMS/BREMSConfig.cpp Show annotated file Show diff for this revision Revisions of this file
CHANGELOG.txt Show annotated file Show diff for this revision Revisions of this file
--- a/BREMS/BREMSConfig.cpp	Mon Feb 12 04:22:13 2018 +0000
+++ b/BREMS/BREMSConfig.cpp	Wed Feb 14 01:33:47 2018 +0000
@@ -98,6 +98,7 @@
     
     io->pc = new Serial(USBTX, USBRX);
     io->pc->baud(115200);
+    NVIC_SetPriority(USART2_IRQn, 2);
     
     init_masks();
     
--- a/CHANGELOG.txt	Mon Feb 12 04:22:13 2018 +0000
+++ b/CHANGELOG.txt	Wed Feb 14 01:33:47 2018 +0000
@@ -46,4 +46,5 @@
 02/11/2018 03:16 - blocked switching modes when motor is running
 02/11/2018 20:13 - scrambled the mode and error handling code in commutate() to be cleaner
 02/11/2018 21:11 - further improvements to mode handling, output overrides and output disabling now live in their own functions
-02/11/2018 21:21 - cmd_exit() checks that motor is not running
\ No newline at end of file
+02/11/2018 21:21 - cmd_exit() checks that motor is not running
+02/13/2017 20:33 - set serial RX interrupt to be lower priority than commutation interrupt
\ No newline at end of file