Mercurial > controller
diff pwm.cpp @ 1:7b2d0a758e63
Add pcb and finish i2c slave
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Tue, 12 Jan 2016 22:28:22 +0100 |
| parents | 2b5078b37907 |
| children |
line wrap: on
line diff
--- a/pwm.cpp Tue Jan 12 19:33:31 2016 +0100 +++ b/pwm.cpp Tue Jan 12 22:28:22 2016 +0100 @@ -74,9 +74,9 @@ * check any new chips which you want to use this library with. */ void pwm_init(volatile uint8_t *ports[], - uint8_t pins[], - uint8_t count, - uint32_t period) { + uint8_t pins[], + uint8_t count, + uint32_t period) { _count = (count <= PWM_MAX_PINS ? count : PWM_MAX_PINS);
