Skip to content

Commit 791aefd

Browse files
Update ports/broadcom/common-hal/neopixel_write/__init__.c
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 575f177 commit 791aefd

File tree

1 file changed

+1
-1
lines changed
  • ports/broadcom/common-hal/neopixel_write

1 file changed

+1
-1
lines changed

ports/broadcom/common-hal/neopixel_write/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t *digitalinout,
4646
// Wait to make sure we don't append onto the last transmission. This should only be a tick or
4747
// two.
4848
int icnt;
49-
while ((port_get_raw_ticks(NULL) < next_start_raw_ticks) &
49+
while ((port_get_raw_ticks(NULL) < next_start_raw_ticks) &&
5050
(next_start_raw_ticks - port_get_raw_ticks(NULL) < 100)) {
5151
RUN_BACKGROUND_TASKS;
5252
}

0 commit comments

Comments
 (0)