diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screen_access.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 9017cda787..0d7017984e 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c | |||
@@ -118,13 +118,13 @@ struct screen screens[NB_SCREENS] = | |||
118 | .backlight_on=&backlight_on, | 118 | .backlight_on=&backlight_on, |
119 | .backlight_off=&backlight_off, | 119 | .backlight_off=&backlight_off, |
120 | .is_backlight_on=&is_backlight_on, | 120 | .is_backlight_on=&is_backlight_on, |
121 | .backlight_set_timeout=&backlight_set_timeout | 121 | .backlight_set_timeout=&backlight_set_timeout, |
122 | #ifdef HAS_BUTTONBAR | 122 | #ifdef HAS_BUTTONBAR |
123 | ,.has_buttonbar=false | 123 | .has_buttonbar=false |
124 | #endif | 124 | #endif |
125 | } | 125 | }, |
126 | #ifdef HAVE_REMOTE_LCD | 126 | #if NB_SCREENS == 2 |
127 | ,{ | 127 | { |
128 | .screen_type=SCREEN_REMOTE, | 128 | .screen_type=SCREEN_REMOTE, |
129 | .width=LCD_REMOTE_WIDTH, | 129 | .width=LCD_REMOTE_WIDTH, |
130 | .height=LCD_REMOTE_HEIGHT, | 130 | .height=LCD_REMOTE_HEIGHT, |