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:
Gregory Nutt
2019-08-19 13:17:28 -06:00
parent df1294906d
commit 4d2f6e85b8
@@ -50,6 +50,8 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/
/* procfs File System */ /* procfs File System */
#ifdef CONFIG_FS_PROCFS #ifdef CONFIG_FS_PROCFS
@@ -60,8 +62,12 @@
# endif # endif
#endif #endif
/* Check if we can support the RTC driver */
#define HAVE_RTC_DRIVER 1 #define HAVE_RTC_DRIVER 1
/* Configuration ************************************************************/ #if !defined(CONFIG_RTC) || !defined(CONFIG_RTC_DRIVER)
# undef HAVE_RTC_DRIVER
#endif
/* LED /* LED
* *