diff options
Diffstat (limited to 'ports/mimxrt/machine_rtc.c')
-rw-r--r-- | ports/mimxrt/machine_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/mimxrt/machine_rtc.c b/ports/mimxrt/machine_rtc.c index e6c519991..b025e3926 100644 --- a/ports/mimxrt/machine_rtc.c +++ b/ports/mimxrt/machine_rtc.c @@ -156,7 +156,7 @@ void machine_rtc_start(void) { SNVS->HPCOMR |= SNVS_HPCOMR_NPSWA_EN_MASK; // Do a basic init. SNVS_LP_Init(SNVS); - #if FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER + #if defined(FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER) && (FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER > 0) // Disable all external Tamper SNVS_LP_DisableAllExternalTamper(SNVS); #endif |