From 42522cce658826286473bd76327fb5060bcbce56 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 28 Jul 2020 16:48:20 +0200 Subject: Readability, comments --- src/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h index b832575..70a8b16 100644 --- a/src/color.h +++ b/src/color.h @@ -23,7 +23,7 @@ extern struct console_color colors[ _COLORS_SIZE ]; //Calculate luminance //Order LSB first: BGR -uint8_t rgb_avg(uint8_t R, uint8_t G, uint8_t B); +uint8_t rgb_luminance(uint8_t R, uint8_t G, uint8_t B); //Get nearest printable color in console char *calc_col(uint8_t R, uint8_t G, uint8_t B); -- cgit v1.2.3