fix example code in docs/feature_rgblight.md (#12960)

daktil_manuform
Takeshi ISHII 2021-05-20 20:47:09 +09:00 committed by GitHub
parent e961e34c7f
commit 40f235a96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -359,9 +359,9 @@ rgblight_set(); // Utility functions do not call rgblight_set() automatically, s
Example: Example:
```c ```c
rgblight_sethsv(HSV_WHITE, 0); // led 0 rgblight_sethsv_at(HSV_WHITE, 0); // led 0
rgblight_sethsv(HSV_RED, 1); // led 1 rgblight_sethsv_at(HSV_RED, 1); // led 1
rgblight_sethsv(HSV_GREEN, 2); // led 2 rgblight_sethsv_at(HSV_GREEN, 2); // led 2
// The above functions automatically calls rgblight_set(), so there is no need to call it explicitly. // The above functions automatically calls rgblight_set(), so there is no need to call it explicitly.
// Note that it is inefficient to call repeatedly. // Note that it is inefficient to call repeatedly.
``` ```