summaryrefslogtreecommitdiffstats
path: root/users/konstantin/rgb.h
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-16 15:26:14 +0100
committerKonstantin Đorđević <vomindoraan@gmail.com>2019-03-02 15:15:56 +0100
commitbd43df53bdf0009a152251582a05046bbefb0858 (patch)
tree6b226deb525ed1538436ac7fb734a239130d3eb0 /users/konstantin/rgb.h
parent5a41c06cd7dcf04f5a27ac9b2fa95399c65367d6 (diff)
downloadqmk_firmware-bd43df53bdf0009a152251582a05046bbefb0858.tar.gz
qmk_firmware-bd43df53bdf0009a152251582a05046bbefb0858.tar.xz
Use two spaces before inline comments
Diffstat (limited to 'users/konstantin/rgb.h')
-rw-r--r--users/konstantin/rgb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h
index 2ea10c67a..e296cf12e 100644
--- a/users/konstantin/rgb.h
+++ b/users/konstantin/rgb.h
@@ -3,15 +3,15 @@
#include "quantum.h"
typedef struct {
- uint16_t h;
- uint8_t s;
- uint8_t v;
+ uint16_t h; // 0–360
+ uint8_t s; // 0–255
+ uint8_t v; // 0–255
} hsv_t;
typedef struct {
- uint8_t r;
- uint8_t g;
- uint8_t b;
+ uint8_t r; // 0–255
+ uint8_t g; // 0–255
+ uint8_t b; // 0–255
} rgb_t;
extern const hsv_t GODSPEED_BLUE;