Skip to content

Commit

Permalink
fix example code in docs/feature_rgblight.md (qmk#12960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtei authored May 20, 2021
1 parent e961e34 commit 40f235a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/feature_rgblight.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ rgblight_set(); // Utility functions do not call rgblight_set() automatically, s

Example:
```c
rgblight_sethsv(HSV_WHITE, 0); // led 0
rgblight_sethsv(HSV_RED, 1); // led 1
rgblight_sethsv(HSV_GREEN, 2); // led 2
rgblight_sethsv_at(HSV_WHITE, 0); // led 0
rgblight_sethsv_at(HSV_RED, 1); // led 1
rgblight_sethsv_at(HSV_GREEN, 2); // led 2
// The above functions automatically calls rgblight_set(), so there is no need to call it explicitly.
// Note that it is inefficient to call repeatedly.
```
Expand Down

0 comments on commit 40f235a

Please sign in to comment.