aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/fsm-channels.h')
-rw-r--r--spaghetti-monster/fsm-channels.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/spaghetti-monster/fsm-channels.h b/spaghetti-monster/fsm-channels.h
index 113a85c..218f4f5 100644
--- a/spaghetti-monster/fsm-channels.h
+++ b/spaghetti-monster/fsm-channels.h
@@ -96,11 +96,11 @@ void calc_2ch_blend(
#ifdef USE_HSV2RGB
typedef struct RGB_t {
- uint8_t r;
- uint8_t g;
- uint8_t b;
+ uint16_t r;
+ uint16_t g;
+ uint16_t b;
} RGB_t;
-RGB_t hsv2rgb(uint8_t h, uint8_t s, uint8_t v);
+RGB_t hsv2rgb(uint8_t h, uint8_t s, uint16_t v);
#endif // ifdef USE_HSV2RGB