fixed a typo bug in zephry port
This commit is contained in:
MMS 2023-12-16 09:49:45 -05:00
parent 7332d59aa7
commit e1fcc6190a
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB