Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.58 KB | None | 0 0
  1. #if HAVE_LCD_FLIP==4
  2. void lcd_set_flip(bool yesno)
  3. {
  4.     (void)yesno;
  5. }
  6. #else
  7. void lcd_set_flip(int direction)
  8. {
  9.     (void)direction;
  10. }
  11. #endif
  12.  
  13.  
  14. #ifdef HAVE_LCD_FLIP
  15. #if HAVE_LCD_FLIP==4
  16.     CHOICE_SETTING(1, flip_display, LANG_FLIP_DISPLAY,
  17.                    0,"flip display",
  18.                    "none,upside down,landscape,flipped landscape",
  19.                    NULL, 4,
  20.                    "None","Upside down","Landscape","Flipped landscape"),
  21. #else
  22.     OFFON_SETTING(0, flip_display, LANG_FLIP_DISPLAY, false, "flip display",
  23.                   NULL),
  24. #endif
  25. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement