diff options
Diffstat (limited to 'users/konstantin/rgb.h')
| -rw-r--r-- | users/konstantin/rgb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h index 53b5821b0..aed855aa0 100644 --- a/users/konstantin/rgb.h +++ b/users/konstantin/rgb.h | |||
| @@ -3,15 +3,15 @@ | |||
| 3 | #include "quantum.h" | 3 | #include "quantum.h" |
| 4 | 4 | ||
| 5 | typedef struct { | 5 | typedef struct { |
| 6 | uint16_t h; // 0–360 | 6 | uint16_t h; // 0–360 |
| 7 | uint8_t s; // 0–255 | 7 | uint8_t s; // 0–255 |
| 8 | uint8_t v; // 0–255 | 8 | uint8_t v; // 0–255 |
| 9 | } hsv_t; | 9 | } hsv_t; |
| 10 | 10 | ||
| 11 | typedef struct { | 11 | typedef struct { |
| 12 | uint8_t r; // 0–255 | 12 | uint8_t r; // 0–255 |
| 13 | uint8_t g; // 0–255 | 13 | uint8_t g; // 0–255 |
| 14 | uint8_t b; // 0–255 | 14 | uint8_t b; // 0–255 |
| 15 | } rgb_t; | 15 | } rgb_t; |
| 16 | 16 | ||
| 17 | extern const hsv_t GODSPEED_BLUE; | 17 | extern const hsv_t GODSPEED_BLUE; |
