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
This commit is contained in:
Karl Palsson 2020-01-04 23:13:08 +00:00
parent 911d4be35b
commit 18f4d7c1b7

View File

@ -34,9 +34,7 @@
#ifndef LIBOPENCM3_RTC_F3_H
#define LIBOPENCM3_RTC_F3_H
/**@{*/
#include <libopencm3/stm32/common/rtc_common_all.h>
/**@}*/
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
#endif