Skip to content
Snippets Groups Projects
Commit 1623bb39 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Silence gcc warning by using blinking bright-red on red if algo is broken.

parent d57ce450
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -2108,9 +2108,9 @@ struct YCoCg_data legacy_ycc[] = { ...@@ -2108,9 +2108,9 @@ struct YCoCg_data legacy_ycc[] = {
CIOLIBEXPORT uint8_t ciolib_rgb_to_legacyattr(uint32_t fg, uint32_t bg) CIOLIBEXPORT uint8_t ciolib_rgb_to_legacyattr(uint32_t fg, uint32_t bg)
{ {
uint8_t bestf; uint8_t bestf = LIGHTRED;
uint32_t bestfv = UINT32_MAX; uint32_t bestfv = UINT32_MAX;
uint8_t bestb; uint8_t bestb BLINK | (RED << 4);
uint32_t bestbv = UINT32_MAX; uint32_t bestbv = UINT32_MAX;
struct YCoCg_data yccf; struct YCoCg_data yccf;
struct YCoCg_data yccb; struct YCoCg_data yccb;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment