Skip to content

Commit

Permalink
updated oskernel.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajmund Szymanski committed Mar 14, 2017
1 parent fa5a454 commit 1910d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion StateOS/interface/src/os_mtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@file StateOS: os_mtx.c
@author Rajmund Szymanski
@date 01.03.2017
@date 14.03.2017
@brief This file provides set of functions for StateOS.
******************************************************************************
Expand Down
5 changes: 2 additions & 3 deletions StateOS/kernel/oskernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@file StateOS: oskernel.c
@author Rajmund Szymanski
@date 13.03.2017
@date 14.03.2017
@brief This file provides set of variables and functions for StateOS.
******************************************************************************
Expand Down Expand Up @@ -111,10 +111,9 @@ void core_tsk_insert( tsk_t *tsk )
{
tsk->obj.id = ID_READY;
priv_tsk_insert(tsk);
#if OS_ROBIN

if (tsk == IDLE.obj.next)
port_ctx_switch();
#endif
}

/* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit 1910d4a

Please sign in to comment.