diff --git a/sched/sched/sched_processtimer.c b/sched/sched/sched_processtimer.c index 7de2a4b58f..fc71746c73 100644 --- a/sched/sched/sched_processtimer.c +++ b/sched/sched/sched_processtimer.c @@ -1,7 +1,7 @@ /**************************************************************************** * sched/sched/sched_processtimer.c * - * Copyright (C) 2007, 2009, 2014-2017 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2014-2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -213,13 +213,13 @@ void sched_process_timer(void) } #endif - /* Process watchdogs */ - - wd_timer(); - /* Check if the currently executing task has exceeded its * timeslice. */ sched_process_scheduler(); + + /* Process watchdogs */ + + wd_timer(); }