diff options
author | Sergey Alirzaev <zl29ah@gmail.com> | 2020-05-22 20:02:07 +0300 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2020-05-23 21:24:36 +0200 |
commit | 58de0a5bccb6648ee3372643517ea51b3ab5b523 (patch) | |
tree | f514cec9ead4f25c4bcf18dc4a7b3ebccc814032 /include | |
parent | 3f44f8fc224c6b0b45a824109619f993e0b87552 (diff) | |
download | osmo-fl2k-58de0a5bccb6648ee3372643517ea51b3ab5b523.tar.gz osmo-fl2k-58de0a5bccb6648ee3372643517ea51b3ab5b523.tar.bz2 osmo-fl2k-58de0a5bccb6648ee3372643517ea51b3ab5b523.zip |
lib: fixed rgb332 macros
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-fl2k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-fl2k.h b/include/osmo-fl2k.h index f88ecdf..17c7e1f 100644 --- a/include/osmo-fl2k.h +++ b/include/osmo-fl2k.h @@ -74,7 +74,7 @@ typedef struct fl2k_dev fl2k_dev_t; #define RGB332_TO_R(x) (((x) & 3) << 6) #define RGB332_TO_G(x) (((x) & 7) << 3) #define RGB332_TO_B(x) (((x) & 7) << 0) -#define RGB332_TO_RGB(r, g, b) (TO_R(r) | TO_G(g) | TO_B(b)) +#define RGB332_TO_RGB(r, g, b) (RGB332_TO_R(r) | RGB332_TO_G(g) | RGB332_TO_B(b)) FL2K_API uint32_t fl2k_get_device_count(void); |