A GPS disciplined clock

Dependencies:   net lpc1768 crypto clock web log

Revision:
37:a4e57b7e29dc
Parent:
35:a535b65203a9
Child:
38:b7879c0ae0d9
--- a/http-derived/home/http-home-ajax.c	Fri Feb 15 17:00:56 2019 +0000
+++ b/http-derived/home/http-home-ajax.c	Thu Feb 21 13:55:55 2019 +0000
@@ -15,7 +15,7 @@
 {
     HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL);
     
-    int64_t now = ClkNowTime();
+    int64_t now = ClkNowTai();
     int64_t fraction = now & ((1UL << CLK_TIME_ONE_SECOND_SHIFT) - 1);
     int64_t ms = (fraction * 1000) >> CLK_TIME_ONE_SECOND_SHIFT;
     HttpAddInt16AsHex(ms); //0, 1, 2, 3