Yes, index is unused. That's ok.
This commit is contained in:
parent
4e41bf1dc7
commit
5e4cb4f1e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user