diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2021-05-20 20:47:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-20 21:47:09 +1000 |
| commit | 40f235a96c7f64822f6fb29b6aa7aab117689888 (patch) | |
| tree | 4093d79eece722aa933aed4243cd14f11423f68d /docs | |
| parent | e961e34c7f224800dabb4e80c2c0daf867642199 (diff) | |
| download | qmk_firmware-40f235a96c7f64822f6fb29b6aa7aab117689888.tar.gz qmk_firmware-40f235a96c7f64822f6fb29b6aa7aab117689888.zip | |
fix example code in docs/feature_rgblight.md (#12960)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_rgblight.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md index d2612a6d1..79977b7aa 100644 --- a/docs/feature_rgblight.md +++ b/docs/feature_rgblight.md | |||
| @@ -359,9 +359,9 @@ rgblight_set(); // Utility functions do not call rgblight_set() automatically, s | |||
| 359 | 359 | ||
| 360 | Example: | 360 | Example: |
| 361 | ```c | 361 | ```c |
| 362 | rgblight_sethsv(HSV_WHITE, 0); // led 0 | 362 | rgblight_sethsv_at(HSV_WHITE, 0); // led 0 |
| 363 | rgblight_sethsv(HSV_RED, 1); // led 1 | 363 | rgblight_sethsv_at(HSV_RED, 1); // led 1 |
| 364 | rgblight_sethsv(HSV_GREEN, 2); // led 2 | 364 | rgblight_sethsv_at(HSV_GREEN, 2); // led 2 |
| 365 | // The above functions automatically calls rgblight_set(), so there is no need to call it explicitly. | 365 | // The above functions automatically calls rgblight_set(), so there is no need to call it explicitly. |
| 366 | // Note that it is inefficient to call repeatedly. | 366 | // Note that it is inefficient to call repeatedly. |
| 367 | ``` | 367 | ``` |
