}
}
#if defined(STA_NANO) && NTP_API == 4
- if (pll_control && kern_enable && clock_max > 0 &&
- sys_tai == 0) {
+ if (pll_control && kern_enable && sys_tai == 0) {
memset(&ntv, 0, sizeof(ntv));
ntv.modes = MOD_TAI;
ntv.constant = i + TAI_1972 - 1;
* is zero to cancel any previous nonsense. If you don't
* want this initialization, remove the ntp.drift file.
*/
- if (pll_control && kern_enable && clock_max > 0) {
+ if (pll_control && kern_enable) {
memset((char *)&ntv, 0, sizeof(ntv));
ntv.modes = MOD_OFFSET | MOD_FREQUENCY;
ntv.freq = (int32)(drift_comp * 65536e6);