Fix thread_process_array when NO_THREADS.
This commit is contained in:
parent
d7e6c20c82
commit
dfbeb5ae29
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue