diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-20 21:16:39 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-20 21:16:39 +0000 |
commit | aec8ecfdad3e58bdec86a767047b9a9fc445d188 (patch) | |
tree | 441f3edfe2b5ded39452b676baf971213cc631a7 /nuttx/arch/arm/src | |
parent | f7933f6762d9bd290270ed8f2fd9b21381d6a760 (diff) | |
download | px4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.tar.gz px4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.tar.bz2 px4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.zip |
Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4207 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_pwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_pwm.c b/nuttx/arch/arm/src/stm32/stm32_pwm.c index 35524226c..99d2e310c 100644 --- a/nuttx/arch/arm/src/stm32/stm32_pwm.c +++ b/nuttx/arch/arm/src/stm32/stm32_pwm.c @@ -724,7 +724,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev, FAR const struct pwm_info_ cr2 = pwm_getreg(priv, STM32_GTIM_CR2_OFFSET); ccmr1 = pwm_getreg(priv, STM32_GTIM_CCMR1_OFFSET); - ccmr2 = pwm_getreg(priv, STM32_GTIM_CCMR1_OFFSET); + ccmr2 = pwm_getreg(priv, STM32_GTIM_CCMR2_OFFSET); /* Reset the Output Compare Mode Bits and set the select output compare mode */ |