mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
boards/arm/stm32h7/nucleo-h743zi/src/nucleo-h743zi.h: Correct logic that determines if the RTC driver is available. Find in build testing.
This commit is contained in:
parent
df1294906d
commit
4d2f6e85b8
1 changed files with 7 additions and 1 deletions
|
@ -50,6 +50,8 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* procfs File System */
|
||||
|
||||
#ifdef CONFIG_FS_PROCFS
|
||||
|
@ -60,8 +62,12 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Check if we can support the RTC driver */
|
||||
|
||||
#define HAVE_RTC_DRIVER 1
|
||||
/* Configuration ************************************************************/
|
||||
#if !defined(CONFIG_RTC) || !defined(CONFIG_RTC_DRIVER)
|
||||
# undef HAVE_RTC_DRIVER
|
||||
#endif
|
||||
|
||||
/* LED
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue