diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-02-28 23:38:26 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-02-28 23:38:26 -0500 |
| commit | 3c24e893e98d158f939a8dba11c4b7783d998500 (patch) | |
| tree | 7ab33b2469a26658e139d65d4a3007eed7f0963a | |
| parent | 808304e8276a51a6ec2ac69e6f33a908c756f722 (diff) | |
Fix SYNCBUSY loop typo.
| -rw-r--r-- | ports/atmel-samd/common-hal/pulseio/PWMOut.c | 2 |
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 { |
