Added a note to sleep functions because use of unsafe time conversion macros internally.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10170 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
17c5e83f03
commit
11cd580360
|
@ -182,6 +182,9 @@ typedef struct {
|
|||
* @note The specified time is rounded up to a value allowed by the real
|
||||
* system tick clock.
|
||||
* @note The maximum specifiable value is implementation dependent.
|
||||
* @note Use of this macro for large values is not secure because
|
||||
* integer overflows, make sure your value can be correctly
|
||||
* converted.
|
||||
*
|
||||
* @param[in] sec time in seconds, must be different from zero
|
||||
*
|
||||
|
@ -195,6 +198,9 @@ typedef struct {
|
|||
* @note The specified time is rounded up to a value allowed by the real
|
||||
* system tick clock.
|
||||
* @note The maximum specifiable value is implementation dependent.
|
||||
* @note Use of this macro for large values is not secure because
|
||||
* integer overflows, make sure your value can be correctly
|
||||
* converted.
|
||||
*
|
||||
* @param[in] msec time in milliseconds, must be different from zero
|
||||
*
|
||||
|
@ -208,6 +214,9 @@ typedef struct {
|
|||
* @note The specified time is rounded up to a value allowed by the real
|
||||
* system tick clock.
|
||||
* @note The maximum specifiable value is implementation dependent.
|
||||
* @note Use of this macro for large values is not secure because
|
||||
* integer overflows, make sure your value can be correctly
|
||||
* converted.
|
||||
*
|
||||
* @param[in] usec time in microseconds, must be different from zero
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue