File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12632,9 +12632,12 @@ return curr;</code>
12632
12632
*/</documentation>
12633
12633
<!--${QXK::QXK-extern-C::contextSw::next}-->
12634
12634
<parameter name="next" type="QActive * const"/>
12635
- <code>uint8_t const prev_prio = (QXK_attr_.prev != (QActive *)0)
12635
+ <code>#ifdef Q_SPY
12636
+ uint8_t const prev_prio = (QXK_attr_.prev != (QActive *)0)
12636
12637
? QXK_attr_.prev->prio
12637
12638
: 0U;
12639
+ #endif /* Q_SPY */
12640
+
12638
12641
uint8_t const next_prio = (next != (QActive *)0)
12639
12642
? next->prio
12640
12643
: QXK_attr_.actPrio;
Original file line number Diff line number Diff line change @@ -432,9 +432,12 @@ QActive * QXK_current(void) {
432
432
/*${QXK::QXK-extern-C::contextSw} ..........................................*/
433
433
#if defined(Q_SPY ) || defined(QXK_ON_CONTEXT_SW )
434
434
void QXK_contextSw (QActive * const next ) {
435
+ #ifdef Q_SPY
435
436
uint8_t const prev_prio = (QXK_attr_ .prev != (QActive * )0 )
436
437
? QXK_attr_ .prev -> prio
437
438
: 0U ;
439
+ #endif /* Q_SPY */
440
+
438
441
uint8_t const next_prio = (next != (QActive * )0 )
439
442
? next -> prio
440
443
: QXK_attr_ .actPrio ;
You can’t perform that action at this time.
0 commit comments