summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriot49 <boser@berkeley.edu>2019-12-10 19:44:11 -0800
committeriot49 <boser@berkeley.edu>2019-12-10 19:44:11 -0800
commit73b6e5d8e6e992eae027b76dc55ceb2ea907e672 (patch)
treeac5e5c21b046d672d832c55c86bcabc02c259279
parent0712c9522517dad0c6684c612f0c9e8e651284d1 (diff)
added correct include files
-rw-r--r--ports/nrf/fatfs_port.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/nrf/fatfs_port.c b/ports/nrf/fatfs_port.c
index 83698fd19..cb1bfa834 100644
--- a/ports/nrf/fatfs_port.c
+++ b/ports/nrf/fatfs_port.c
@@ -27,9 +27,8 @@
#include "py/runtime.h"
#include "lib/oofatfs/ff.h"
#include "lib/timeutils/timeutils.h"
-
-extern void common_hal_rtc_get_time(timeutils_struct_time_t *tm);
-extern void struct_time_to_tm(mp_obj_t t, timeutils_struct_time_t *tm);
+#include "shared-bindings/rtc/RTC.h"
+#include "shared-bindings/time/__init__.h"
DWORD get_fattime(void) {
#if CIRCUITPY_RTC