Just use 2000 as the CPU frequency (MHz) as the old API was removed.