cec: fixed - frequency wasn't checked in GetTimeMs(), leading to incorrect wait times...