diff --git a/zephyr/README.md b/zephyr/README.md index d6b72e72..a954e75e 100644 --- a/zephyr/README.md +++ b/zephyr/README.md @@ -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 diff --git a/zephyr/qf_port.c b/zephyr/qf_port.c index 344d4e5c..3cd31adf 100644 --- a/zephyr/qf_port.c +++ b/zephyr/qf_port.c @@ -22,8 +22,8 @@ // // //============================================================================ -//! @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; } diff --git a/zephyr/qp-zephyr.jpg b/zephyr/qp-zephyr.jpg new file mode 100644 index 00000000..16ef9346 Binary files /dev/null and b/zephyr/qp-zephyr.jpg differ