diff options
| author | Frédéric Desbiens <[email protected]> | 2026-01-09 09:38:16 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-09 09:38:16 -0500 |
| commit | 4b6e8100d932a3a67b34c6eb17f84f3bffb9e2ae (patch) | |
| tree | 98ebb068eef75823c6ffca66711308a19ec03df9 | |
| parent | a9b31c31028851ee0f6df68d345c32eb2c4f2862 (diff) | |
| parent | c09b444792fd106c3041a9dcf007f3f780b8633b (diff) | |
Merge commit from forkv6.4.5.202504_rel
Fix: Return 0u when no counters available
| -rw-r--r-- | utility/rtos_compatibility_layers/OSEK/tx_osek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/rtos_compatibility_layers/OSEK/tx_osek.c b/utility/rtos_compatibility_layers/OSEK/tx_osek.c index d11b8149..bf5f482c 100644 --- a/utility/rtos_compatibility_layers/OSEK/tx_osek.c +++ b/utility/rtos_compatibility_layers/OSEK/tx_osek.c @@ -7751,7 +7751,7 @@ UINT index; if (index >= OSEK_MAX_COUNTERS) { /* No more Counters available - user configuration error. */ - return ((CounterType) E_OS_SYS_STACK); + return ((CounterType) 0u); } /* Found one. */ |
