From d839ce41f629fed18fbd55295f2270e8308ca4e1 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 8 Apr 2014 18:51:26 +0000 Subject: [PATCH] stm32f1: Fix RCC CAN defines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Марко Краљевић --- include/libopencm3/stm32/f1/rcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libopencm3/stm32/f1/rcc.h b/include/libopencm3/stm32/f1/rcc.h index 41ae09e4..799b8c24 100644 --- a/include/libopencm3/stm32/f1/rcc.h +++ b/include/libopencm3/stm32/f1/rcc.h @@ -601,9 +601,9 @@ enum rcc_periph_clken { RCC_I2C1 = _REG_BIT(0x1C, 21),/*VNC*/ RCC_I2C2 = _REG_BIT(0x1C, 22),/*VNC*/ RCC_USB = _REG_BIT(0x1C, 23),/*-N-*/ - RCC_CAN = _REG_BIT(0x1C, 24),/*-N-*/ - RCC_CAN1 = _REG_BIT(0x1C, 24),/*--C*/ - RCC_CAN2 = _REG_BIT(0x1C, 25),/*--C*/ + RCC_CAN = _REG_BIT(0x1C, 25),/*-N-*/ + RCC_CAN1 = _REG_BIT(0x1C, 25),/*--C*/ + RCC_CAN2 = _REG_BIT(0x1C, 26),/*--C*/ RCC_BKP = _REG_BIT(0x1C, 27),/*VNC*/ RCC_PWR = _REG_BIT(0x1C, 28),/*VNC*/ RCC_DAC = _REG_BIT(0x1C, 29),/*VNC*/