Guest User

Untitled

a guest
May 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. diff --git a/openiboot/commands.c b/openiboot/commands.c
  2. index f3b21d6..13aa71a 100644
  3. --- a/openiboot/commands.c
  4. +++ b/openiboot/commands.c
  5. @@ -191,8 +191,8 @@ void cmd_bgcolor(int argc, char** argv) {
  6. }
  7.  
  8. uint8_t red = parseNumber(argv[1]);
  9. - uint8_t blue = parseNumber(argv[2]);
  10. - uint8_t green = parseNumber(argv[3]);
  11. + uint8_t green = parseNumber(argv[2]);
  12. + uint8_t blue = parseNumber(argv[3]);
  13.  
  14. lcd_fill((red << 16) | (green << 8) | blue);
  15. }
Add Comment
Please, Sign In to add comment