fix epicsThreadBooleanStatusSuccess
This commit is contained in:
1 parent
d8d0e6b86d
commit
a0019d0e5c
2 files changed
+5
-5
No files matched your search
@@ -93,7 +93,7 @@ epicsShareFunc epicsThreadBooleanStatus epicsShareAPI epicsThreadLowestPriorityL
|
||||
newPriority = priority + 1;
|
||||
if (newPriority <= 99) {
|
||||
*pPriorityJustAbove = newPriority;
|
||||
return threadBoolStatusSuccess;
|
||||
return epicsThreadBooleanStatusSuccess;
|
||||
}
|
||||
return threadBoolStatusFail;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ epicsShareFunc epicsThreadBooleanStatus epicsShareAPI epicsThreadHighestPriority
|
||||
|
||||
if (newPriority <= 99) {
|
||||
*pPriorityJustBelow = newPriority;
|
||||
return threadBoolStatusSuccess;
|
||||
return epicsThreadBooleanStatusSuccess;
|
||||
}
|
||||
return threadBoolStatusFail;
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ epicsShareFunc epicsThreadBooleanStatus epicsShareAPI epicsThreadLowestPriorityL
|
||||
|
||||
if ( magnitude < (osdPriorityStateCount-1) ) {
|
||||
*pPriorityJustAbove = osiPriorityMagFromMagnitueOSD ( magnitude + 1u );
|
||||
status = threadBoolStatusSuccess;
|
||||
status = epicsThreadBooleanStatusSuccess;
|
||||
}
|
||||
else {
|
||||
status = threadBoolStatusFail;
|
||||
@@ -252,7 +252,7 @@ epicsShareFunc epicsThreadBooleanStatus epicsShareAPI epicsThreadHighestPriority
|
||||
|
||||
if ( magnitude > 1u ) {
|
||||
*pPriorityJustBelow = osiPriorityMagFromMagnitueOSD ( magnitude - 1u );
|
||||
status = threadBoolStatusSuccess;
|
||||
status = epicsThreadBooleanStatusSuccess;
|
||||
}
|
||||
else {
|
||||
status = threadBoolStatusFail;
|
||||
@@ -642,4 +642,4 @@ void testPriorityMapping ()
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user