mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Require HAVE_LCD_SLEEP when HAVE_LCD_SLEEP_SETTING is defined
Change-Id: I5429c538b8c46ab857100f3a290c4241c8991038
This commit is contained in:
parent
e181ebfb2d
commit
a901b530e0
1 changed files with 5 additions and 0 deletions
|
@ -1453,4 +1453,9 @@ Lyre prototype 1 */
|
|||
other than audio support */
|
||||
#define AUDIOHW_SETTING(name, us, nd, st, minv, maxv, defv, expr...)
|
||||
|
||||
/* Trying to enable the setting without the underlying functions doesn't work */
|
||||
#if defined(HAVE_LCD_SLEEP_SETTING) && !defined(HAVE_LCD_SLEEP)
|
||||
#error "HAVE_LCD_SLEEP_SETTING requires HAVE_LCD_SLEEP"
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue