Changeset 279 for EcnlProtoTool/trunk/asp3_dcre/kernel/dataqueue.c
- Timestamp:
- Apr 29, 2017, 4:33:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/kernel/dataqueue.c
r270 r279 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2005-201 6by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2005-2017 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 612 612 CHECK_ID(VALID_DTQID(dtqid)); 613 613 p_dtqcb = get_dtqcb(dtqid); 614 CHECK_ILUSE(p_dtqcb->p_dtqinib->dtqcnt > 0U);615 614 616 615 lock_cpu(); 617 616 if (p_dtqcb->p_dtqinib->dtqatr == TA_NOEXS) { 618 617 ercd = E_NOEXS; 618 } 619 else if (!(p_dtqcb->p_dtqinib->dtqcnt > 0U)) { 620 ercd = E_ILUSE; 619 621 } 620 622 else { … … 628 630 } 629 631 } 630 }631 632 ercd = E_OK; 633 } 632 634 unlock_cpu(); 633 635
Note:
See TracChangeset
for help on using the changeset viewer.