diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-01 20:32:50 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-01 20:32:50 +0000 |
commit | 7c0a18e8449c0af2ddc3a19bf559fbe74a6408a7 (patch) | |
tree | 5605e99d05f4d6ede4efc5c7fca9ec32697c50ff /src | |
parent | 6a425508b88520b93ccd56e1c3d11e01580e1cf5 (diff) | |
download | ChibiOS-7c0a18e8449c0af2ddc3a19bf559fbe74a6408a7.tar.gz ChibiOS-7c0a18e8449c0af2ddc3a19bf559fbe74a6408a7.tar.bz2 ChibiOS-7c0a18e8449c0af2ddc3a19bf559fbe74a6408a7.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@862 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/chvt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/chvt.c b/src/chvt.c index ce322e35f..c1d8734ec 100644 --- a/src/chvt.c +++ b/src/chvt.c @@ -85,8 +85,9 @@ void chVTSetI(VirtualTimer *vtp, systime_t time, vtfunc_t vtfunc, void *par) { void chVTResetI(VirtualTimer *vtp) {
chDbgCheck(vtp != NULL, "chVTResetI");
- chDbgAssert(vtp->vt_func != NULL, "chVTResetI(), #1",
- "timer already triggered");
+ chDbgAssert(vtp->vt_func != NULL,
+ "chVTResetI(), #1",
+ "timer not set or already triggered");
if (vtp->vt_next != (void *)&vtlist)
vtp->vt_next->vt_time += vtp->vt_time;
|