Revert "Changes needed for the timer os_period_t."

This reverts commit 080db7b8c1552908bab711b2373d7894fcae083b.
Fixes needed after rollback of time=os_period_t.