Fix SYNCBUSY loop typo.
This commit is contained in:
parent
808304e827
commit
3c24e893e9
@ -428,8 +428,6 @@ void common_hal_pulseio_pwmout_set_frequency(pulseio_pwmout_obj_t* self,
|
|||||||
#endif
|
#endif
|
||||||
#ifdef SAMD51
|
#ifdef SAMD51
|
||||||
while (tc->COUNT16.SYNCBUSY.reg != 0) {}
|
while (tc->COUNT16.SYNCBUSY.reg != 0) {}
|
||||||
/* Wait for sync */
|
|
||||||
}
|
|
||||||
tc->COUNT16.CCBUF[0].reg = new_top;
|
tc->COUNT16.CCBUF[0].reg = new_top;
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user