Skip to content
Snippets Groups Projects
Commit 43d6ac69 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Re-enabled individual task timers.

parent a25a25c8
No related branches found
No related tags found
1 merge request!331Gravity multi dt
......@@ -83,12 +83,9 @@ char *timers_names[timer_count] = {
*
* To reset all timers, use the mask #timers_mask_all.
*/
void timers_reset(unsigned long long mask) {
int k;
/* Loop over the timers and set the masked ones to zero. */
for (k = 0; k < timer_count; k++)
for (int k = 0; k < timer_count; k++)
if (mask & (1ull << k)) timers[k] = 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment