Skip to content

Commit b56ac3a

Browse files
committed
rtc: fix compilation for variants not declaring RTC
1 parent a5852a9 commit b56ac3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/rtc.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#include "Arduino.h"
22
#include "rtc.h"
3-
#include "r_rtc.h"
43

54
#if RTC_HOWMANY > 0
65

6+
#include "r_rtc.h"
7+
78
#define RTC_IS_ENABLED (0)
89
#define RTC_IS_NOT_ENABLED (1)
910

10-
1111
#ifdef __cplusplus
1212
extern "C" {
1313
#endif

0 commit comments

Comments
 (0)