Fixed bug #752.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@9577 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
fc903ea664
commit
b4ddc58755
|
@ -502,7 +502,7 @@ static inline osStatus osThreadYield(void) {
|
|||
*/
|
||||
static inline osPriority osThreadGetPriority(osThreadId thread_id) {
|
||||
|
||||
return thread_id->p_prio;
|
||||
return (osPriority)(NORMALPRIO - thread_id->p_prio);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -73,6 +73,8 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 16.1.5 ***
|
||||
- HAL: Fixed CMSIS function osThreadGetPriority() does not return correct
|
||||
priority (bug #752).
|
||||
- HAL: Fixed wrong conditional branches in _adc_isr_error_code (bug #751).
|
||||
- HAL: Fixed bug in STM32/ADCv3 (bug #750).
|
||||
- HAL: Fixed OPT settings and added board folder in STM32F4xx-USB_CDC demo
|
||||
|
|
Loading…
Reference in New Issue