mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-14 06:43:19 +08:00
7.3.2
fixed a typo bug in zephry port
This commit is contained in:
parent
7332d59aa7
commit
e1fcc6190a
@ -1,4 +1,4 @@
|
||||
[![QP Zephyr Module](../doxygen/images/qp-zephyr.jpg)](https://www.state-machine.com/qpc/zephyr.html)
|
||||
[![QP Zephyr Module](./qp-zephyr.jpg)](https://www.state-machine.com/qpc/zephyr.html)
|
||||
|
||||
# About the QPC Zephyr Module
|
||||
This directory defines the
|
||||
|
@ -22,8 +22,8 @@
|
||||
// <www.state-machine.com>
|
||||
// <info@state-machine.com>
|
||||
//============================================================================
|
||||
//! @date Last updated on: 2023-11-15
|
||||
//! @version Last updated for: @ref qpc_7_3_1
|
||||
//! @date Last updated on: 2024-01-03
|
||||
//! @version Last updated for: @ref qpc_7_3_2
|
||||
//!
|
||||
//! @file
|
||||
//! @brief QF/C port to Zephyr RTOS (v 3.1.99)
|
||||
@ -147,7 +147,7 @@ void QActive_start_(QActive * const me, QPrioSpec const prioSpec,
|
||||
// would result in a different relative priritization of AO's threads
|
||||
// than indicated by the AO priorities assigned.
|
||||
//
|
||||
int zephyr_prio = (int)((int16_t)qp_prio >> 8);
|
||||
int zephyr_prio = (int)((int16_t)prioSpec >> 8);
|
||||
if (zephyr_prio == 0) {
|
||||
zephyr_prio = (int)QF_MAX_ACTIVE - (int)me->prio;
|
||||
}
|
||||
|
BIN
zephyr/qp-zephyr.jpg
Normal file
BIN
zephyr/qp-zephyr.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Loading…
x
Reference in New Issue
Block a user