Fix SYNCBUSY loop typo.

This commit is contained in:
Dan Halbert 2019-02-28 23:38:26 -05:00
parent 808304e827
commit 3c24e893e9

View File

@ -428,8 +428,6 @@ void common_hal_pulseio_pwmout_set_frequency(pulseio_pwmout_obj_t* self,
#endif
#ifdef SAMD51
while (tc->COUNT16.SYNCBUSY.reg != 0) {}
/* Wait for sync */
}
tc->COUNT16.CCBUF[0].reg = new_top;
#endif
} else {