summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-02-28 23:38:26 -0500
committerDan Halbert <halbert@halwitz.org>2019-02-28 23:38:26 -0500
commit3c24e893e98d158f939a8dba11c4b7783d998500 (patch)
tree7ab33b2469a26658e139d65d4a3007eed7f0963a
parent808304e8276a51a6ec2ac69e6f33a908c756f722 (diff)
Fix SYNCBUSY loop typo.
-rw-r--r--ports/atmel-samd/common-hal/pulseio/PWMOut.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ports/atmel-samd/common-hal/pulseio/PWMOut.c b/ports/atmel-samd/common-hal/pulseio/PWMOut.c
index 0908f9a01..dd85e8c02 100644
--- a/ports/atmel-samd/common-hal/pulseio/PWMOut.c
+++ b/ports/atmel-samd/common-hal/pulseio/PWMOut.c
@@ -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 {