mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +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:
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user