git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6214 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
590c03982f
commit
613386635e
|
@ -57,7 +57,6 @@ static void txend2(UARTDriver *uartp) {
|
||||||
(void)uartp;
|
(void)uartp;
|
||||||
palSetPad(GPIOD, GPIOD_LED5);
|
palSetPad(GPIOD, GPIOD_LED5);
|
||||||
chSysLockFromISR();
|
chSysLockFromISR();
|
||||||
if (chVTIsArmedI(&vt5))
|
|
||||||
chVTResetI(&vt5);
|
chVTResetI(&vt5);
|
||||||
chVTSetI(&vt5, MS2ST(200), led5off, NULL);
|
chVTSetI(&vt5, MS2ST(200), led5off, NULL);
|
||||||
chSysUnlockFromISR();
|
chSysUnlockFromISR();
|
||||||
|
@ -84,7 +83,6 @@ static void rxchar(UARTDriver *uartp, uint16_t c) {
|
||||||
/* Flashing the LED each time a character is received.*/
|
/* Flashing the LED each time a character is received.*/
|
||||||
palSetPad(GPIOD, GPIOD_LED4);
|
palSetPad(GPIOD, GPIOD_LED4);
|
||||||
chSysLockFromISR();
|
chSysLockFromISR();
|
||||||
if (chVTIsArmedI(&vt4))
|
|
||||||
chVTResetI(&vt4);
|
chVTResetI(&vt4);
|
||||||
chVTSetI(&vt4, MS2ST(200), led4off, NULL);
|
chVTSetI(&vt4, MS2ST(200), led4off, NULL);
|
||||||
chSysUnlockFromISR();
|
chSysUnlockFromISR();
|
||||||
|
@ -100,7 +98,6 @@ static void rxend(UARTDriver *uartp) {
|
||||||
/* Flashing the LED each time a character is received.*/
|
/* Flashing the LED each time a character is received.*/
|
||||||
palSetPad(GPIOD, GPIOD_LED3);
|
palSetPad(GPIOD, GPIOD_LED3);
|
||||||
chSysLockFromISR();
|
chSysLockFromISR();
|
||||||
if (chVTIsArmedI(&vt3))
|
|
||||||
chVTResetI(&vt3);
|
chVTResetI(&vt3);
|
||||||
chVTSetI(&vt3, MS2ST(200), led3off, NULL);
|
chVTSetI(&vt3, MS2ST(200), led3off, NULL);
|
||||||
chSysUnlockFromISR();
|
chSysUnlockFromISR();
|
||||||
|
|
Loading…
Reference in New Issue