Fix thread_process_array when NO_THREADS.
(cherry picked from commit dfbeb5ae29
)
This commit is contained in:
parent
e3664e971b
commit
9084e2e85b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void thread_process_array(uint32_t p_elements, C *p_instance, M p_method, U p_us
|
||||||
data.method = p_method;
|
data.method = p_method;
|
||||||
data.instance = p_instance;
|
data.instance = p_instance;
|
||||||
data.userdata = p_userdata;
|
data.userdata = p_userdata;
|
||||||
data.index = 0;
|
data.index.set(0);
|
||||||
data.elements = p_elements;
|
data.elements = p_elements;
|
||||||
for (uint32_t i = 0; i < p_elements; i++) {
|
for (uint32_t i = 0; i < p_elements; i++) {
|
||||||
data.process(i);
|
data.process(i);
|
||||||
|
|
Loading…
Reference in a new issue