summaryrefslogtreecommitdiff
path: root/esp8266/machine_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/machine_rtc.c')
-rw-r--r--esp8266/machine_rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/machine_rtc.c b/esp8266/machine_rtc.c
index 8c1fe0779..b17bcb261 100644
--- a/esp8266/machine_rtc.c
+++ b/esp8266/machine_rtc.c
@@ -30,7 +30,7 @@
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
-#include "timeutils.h"
+#include "lib/timeutils/timeutils.h"
#include "user_interface.h"
#include "modmachine.h"
@@ -93,7 +93,7 @@ void pyb_rtc_set_us_since_2000(uint64_t nowus) {
int64_t delta = nowus - (((uint64_t)rtc_last_ticks * cal) >> 12);
// As the calibration value jitters quite a bit, to make the
- // clock at least somewhat practially usable, we need to store it
+ // clock at least somewhat practically usable, we need to store it
system_rtc_mem_write(MEM_CAL_ADDR, &cal, sizeof(cal));
system_rtc_mem_write(MEM_DELTA_ADDR, &delta, sizeof(delta));
};