Skip to content

Commit 3169747

Browse files
authored
Fix reference to LEDPattern.applyTo() (#2977)
1 parent 2ae516c commit 3169747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/docs/software/hardware-apis/misc/addressable-leds.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Use commands. The command framework is specifically built for managing when acti
223223
* @param pattern the LED pattern to run
224224
*/
225225
public Command runPattern(LEDPattern pattern) {
226-
return run(() -> pattern.apply(m_buffer));
226+
return run(() -> pattern.applyTo(m_buffer));
227227
}
228228
}
229229
```

0 commit comments

Comments
 (0)