Fixed bug #752.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9576 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
3bbaa571d4
commit
037b48cf4d
|
@ -504,7 +504,7 @@ static inline osStatus osThreadYield(void) {
|
|||
*/
|
||||
static inline osPriority osThreadGetPriority(osThreadId thread_id) {
|
||||
|
||||
return thread_id->prio;
|
||||
return (osPriority)(NORMALPRIO - thread_id->prio);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -117,6 +117,8 @@
|
|||
- RT: Merged RT4.
|
||||
- NIL: Merged NIL2.
|
||||
- NIL: Added STM32F7 demo.
|
||||
- HAL: Fixed CMSIS function osThreadGetPriority() does not return correct
|
||||
priority (bug #752)(backported to 2.6.10, 3.0.6 and 16.1.5).
|
||||
- HAL: Fixed wrong conditional branches in _adc_isr_error_code (bug #751)
|
||||
(backported to 2.6.10, 3.0.6 and 16.1.5).
|
||||
- HAL: Fixed bug in STM32/ADCv3 (bug #750).
|
||||
|
|
Loading…
Reference in New Issue