File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 22
33 @file IntrOS: ostask.h
44 @author Rajmund Szymanski
5- @date 12 .05.2020
5+ @date 13 .05.2020
66 @brief This file contains definitions for IntrOS.
77
88 ******************************************************************************
@@ -879,7 +879,7 @@ void cur_action( act_t *action ) { tsk_action(System.cur, action); }
879879 *
880880 ******************************************************************************/
881881
882- template <size_t size_ = OS_STACK_SIZE >
882+ template <size_t size_>
883883struct baseStack
884884{
885885 stk_t stack_[ STK_SIZE(size_) ];
@@ -957,7 +957,7 @@ struct baseTask : public __tsk
957957 *
958958 ******************************************************************************/
959959
960- template <size_t size_ = OS_STACK_SIZE >
960+ template <size_t size_>
961961struct TaskT : public baseTask , public baseStack <size_>
962962{
963963 template <class T >
@@ -1043,7 +1043,13 @@ struct TaskT : public baseTask, public baseStack<size_>
10431043#endif
10441044};
10451045
1046- /* -------------------------------------------------------------------------- */
1046+ /* *****************************************************************************
1047+ *
1048+ * Class : Task
1049+ *
1050+ * Description : create and initialize complete work area for task object
1051+ *
1052+ ******************************************************************************/
10471053
10481054using Task = TaskT<OS_STACK_SIZE>;
10491055
You can’t perform that action at this time.
0 commit comments