Skip to content

Commit 73b6e5d

Browse files
committed
added correct include files
1 parent 0712c95 commit 73b6e5d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/nrf/fatfs_port.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
#include "py/runtime.h"
2828
#include "lib/oofatfs/ff.h"
2929
#include "lib/timeutils/timeutils.h"
30-
31-
extern void common_hal_rtc_get_time(timeutils_struct_time_t *tm);
32-
extern void struct_time_to_tm(mp_obj_t t, timeutils_struct_time_t *tm);
30+
#include "shared-bindings/rtc/RTC.h"
31+
#include "shared-bindings/time/__init__.h"
3332

3433
DWORD get_fattime(void) {
3534
#if CIRCUITPY_RTC

0 commit comments

Comments
 (0)