Merge pull request #291 from andvib/timeout-unused-argument

val: Fix compilation issue when watchdog is not used