Commit 43d6ac69 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Re-enabled individual task timers.

parent a25a25c8
......@@ -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;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment