diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-08-17 01:03:12 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-08-17 01:03:12 +0000 |
commit | 676276e1b9619d679d4799fc67a6e2fc3544a093 (patch) | |
tree | fb4c01d47896b4746e666ae80c497dd2eca0bb62 /nuttx | |
parent | 2377500b143e55ec6fe1d2bffcd5fe315ba77144 (diff) |
Fix a typo from the last checkin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3887 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/arch/arm/src/kinetis/kinetis_sim.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/kinetis/kinetis_sim.h b/nuttx/arch/arm/src/kinetis/kinetis_sim.h index 399ed8d515..bdbf4dc026 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_sim.h +++ b/nuttx/arch/arm/src/kinetis/kinetis_sim.h @@ -302,7 +302,6 @@ /* System Clock Gating Control Register 3 */ #if defined(KINETIS_NRNG) && KINETIS_NRNG > 0 -#ifdef KINETIS_K60 # define SIM_SCGC3_RNGB (1 << 0) /* Bit 0: RNGB Clock Gate Control (K60) */ #endif /* Bits 1-3: Reserved */ @@ -316,7 +315,7 @@ /* Bits 25-26: Reserved */ #define SIM_SCGC3_ADC1 (1 << 27) /* Bit 27: ADC1 Clock Gate Control */ /* Bits 28-29: Reserved */ -#ifdef KINETIS_K40 +#if defined(KINETIS_NSLCD) && KINETIS_NSLCD > 0 # define SIM_SCGC3_SLCD (1 << 30) /* Bit 30: Segment LCD Clock Gate Control (K40) */ #endif /* Bit 31: Reserved */ |