Yes, index is unused. That's ok.

This commit is contained in:
Scott Shawcroft 2021-12-15 13:46:31 -08:00
parent 4e41bf1dc7
commit 5e4cb4f1e2
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -101,6 +101,8 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t *digitalinout,
if (index == 1) {
pwm = PWM1;
}
#else
(void)index;
#endif
pwm->RNG1 = 24;