From 18f4d7c1b7c8d4b3eb190827d2b99c4b23162205 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 4 Jan 2020 23:13:08 +0000 Subject: [PATCH] stm32f3: rtc: include correct shared header rtc_common_all never existed, and f3 has the same "v2" peripheral used by ~all parts other than the f1. We don't have any f3 rtc test code, but the existing code was clearly wrong, and this is at least including the correct basic defines. Fixes: https://github.com/libopencm3/libopencm3/issues/1106 --- include/libopencm3/stm32/f3/rtc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/libopencm3/stm32/f3/rtc.h b/include/libopencm3/stm32/f3/rtc.h index b982496c..b7cbbb4d 100644 --- a/include/libopencm3/stm32/f3/rtc.h +++ b/include/libopencm3/stm32/f3/rtc.h @@ -34,9 +34,7 @@ #ifndef LIBOPENCM3_RTC_F3_H #define LIBOPENCM3_RTC_F3_H -/**@{*/ -#include -/**@}*/ +#include #endif