git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@862 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-04-01 20:32:50 +00:00
parent 6a425508b8
commit 7c0a18e844
1 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,9 @@ void chVTSetI(VirtualTimer *vtp, systime_t time, vtfunc_t vtfunc, void *par) {
void chVTResetI(VirtualTimer *vtp) { void chVTResetI(VirtualTimer *vtp) {
chDbgCheck(vtp != NULL, "chVTResetI"); chDbgCheck(vtp != NULL, "chVTResetI");
chDbgAssert(vtp->vt_func != NULL, "chVTResetI(), #1", chDbgAssert(vtp->vt_func != NULL,
"timer already triggered"); "chVTResetI(), #1",
"timer not set or already triggered");
if (vtp->vt_next != (void *)&vtlist) if (vtp->vt_next != (void *)&vtlist)
vtp->vt_next->vt_time += vtp->vt_time; vtp->vt_next->vt_time += vtp->vt_time;