Better comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15807 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
a84ef98363
commit
1121f970b1
|
@ -380,11 +380,15 @@ void sb_fastc_vrq_return(struct port_extctx *ectxp) {
|
||||||
/* Re-enabling VRQs globally.*/
|
/* Re-enabling VRQs globally.*/
|
||||||
sbp->vrq_isr = 0U;
|
sbp->vrq_isr = 0U;
|
||||||
|
|
||||||
/* Creating a return context.*/
|
/* Creating a new return context.*/
|
||||||
vrq_pushctx(ectxp, sbp, active_mask);
|
vrq_pushctx(ectxp, sbp, active_mask);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
/* Re-enabling VRQs globally.*/
|
||||||
sbp->vrq_isr = 0U;
|
sbp->vrq_isr = 0U;
|
||||||
|
|
||||||
|
/* Keeping the current return context.*/
|
||||||
__set_PSP((uint32_t)ectxp);
|
__set_PSP((uint32_t)ectxp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue