From 35ed6926a98c5287b930f2786af5f5c2df2cebb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Inostroza?= Date: Thu, 5 Oct 2017 04:22:55 -0300 Subject: [PATCH] stm32f1: can: fix RST_CANx bit definitions RCC_CANx bits were correct, typos in RST_CANx bits. --- 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 bbb23fcf..3b066f1a 100644 --- a/include/libopencm3/stm32/f1/rcc.h +++ b/include/libopencm3/stm32/f1/rcc.h @@ -668,9 +668,9 @@ enum rcc_periph_rst { RST_I2C1 = _REG_BIT(0x10, 21),/*VNC*/ RST_I2C2 = _REG_BIT(0x10, 22),/*VNC*/ RST_USB = _REG_BIT(0x10, 23),/*-N-*/ - RST_CAN = _REG_BIT(0x10, 24),/*-N-*/ - RST_CAN1 = _REG_BIT(0x10, 24),/*--C*/ - RST_CAN2 = _REG_BIT(0x10, 25),/*--C*/ + RST_CAN = _REG_BIT(0x10, 25),/*-N-*/ + RST_CAN1 = _REG_BIT(0x10, 25),/*--C*/ + RST_CAN2 = _REG_BIT(0x10, 26),/*--C*/ RST_BKP = _REG_BIT(0x10, 27),/*VNC*/ RST_PWR = _REG_BIT(0x10, 28),/*VNC*/ RST_DAC = _REG_BIT(0x10, 29),/*VNC*/