aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/timer.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2010-01-14 23:20:33 +0100
committerPiotr Esden-Tempski2010-01-14 23:20:33 +0100
commitafc9cc84deb1ab2093501f5d5595f0d01f03e42f (patch)
treed39d470cc3a9353dc7032b904e7ec2e9876f171a /include/libopenstm32/timer.h
parent7fd62e6d0bc66f54ce9edd7634e1d48da0e6e0cd (diff)
Typo fixes in timer.
Diffstat (limited to 'include/libopenstm32/timer.h')
-rw-r--r--include/libopenstm32/timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libopenstm32/timer.h b/include/libopenstm32/timer.h
index e33dc6e..0249bc4 100644
--- a/include/libopenstm32/timer.h
+++ b/include/libopenstm32/timer.h
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LIBOPENSTM32_GPIO_H
-#define LIBOPENSTM32_GPIO_H
+#ifndef LIBOPENSTM32_TIMER_H
+#define LIBOPENSTM32_TIMER_H
#include <libopenstm32.h>
@@ -377,7 +377,7 @@
#define TIM_DIER_CC1DE (1 << 9)
/* UDE: Update DMA request enable */
-#define TIM_DIER_BIE (1 << 8)
+#define TIM_DIER_UDE (1 << 8)
/* BIE: Break interrupt enable */
#define TIM_DIER_BIE (1 << 7)