diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-02-26 12:09:55 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-02-26 12:13:20 +0100 |
commit | dfbeb5ae29f932b21600eb8d3e941b32b0943b04 (patch) | |
tree | 78fc62fd0a49540e50edab8d12c671b0742372d9 | |
parent | d7e6c20c82df9179bc4e9b7706dc7a09ee554974 (diff) |
Fix thread_process_array when NO_THREADS.
-rw-r--r-- | core/os/threaded_array_processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/threaded_array_processor.h b/core/os/threaded_array_processor.h index 4f270001d3..fec6473589 100644 --- a/core/os/threaded_array_processor.h +++ b/core/os/threaded_array_processor.h @@ -95,7 +95,7 @@ void thread_process_array(uint32_t p_elements, C *p_instance, M p_method, U p_us data.method = p_method; data.instance = p_instance; data.userdata = p_userdata; - data.index = 0; + data.index.set(0); data.elements = p_elements; for (uint32_t i = 0; i < p_elements; i++) { data.process(i); |