Remove useless comment
There is no point to having a comment reference the old hard-coded maximum number of events. The maximum number of events is by definition 'K_max_eventnr'. Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
880c109f20
commit
77cff87e42
1 changed files with 1 additions and 2 deletions
|
@ -87,8 +87,7 @@ void K_monitor_args(struct k_args *A)
|
|||
{
|
||||
K_monitor_wptr->time = timer_read();
|
||||
|
||||
if ((uint32_t)A < K_max_eventnr) /* K_max_eventnr must be used
|
||||
instead of 64 */
|
||||
if ((uint32_t)A < K_max_eventnr)
|
||||
{
|
||||
K_monitor_wptr->data2 = MO_EVENT | (uint32_t)A;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue