Misleading comments: chvt.h::chVTSetContinuous* Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Misleading comments: chvt.h::chVTSetContinuous*  Topic is solved

Postby faisal » Mon Nov 08, 2021 3:38 am

The comments for chVTSetContinuous* funcs say:

* @param[in] vtfunc the timer callback function. After invoking the
* callback the timer is disabled and the structure can
* be disposed or reused.


Don't seem right. Also, are the other comments accurate?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Misleading comments: chvt.h::chVTSetContinuous*

Postby Giovanni » Mon Nov 08, 2021 6:48 am

hi,

You are right, it has been copy-pasted from the non-continuous function.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Misleading comments: chvt.h::chVTSetContinuous*

Postby Giovanni » Fri Mar 18, 2022 10:50 am

Hi,

Fixed in repository.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 18 guests