fixed nanotime

This commit is contained in:
Edward Emelianov
2025-11-01 19:51:56 +03:00
parent 3f108fcc13
commit 511956531e
2 changed files with 9 additions and 10 deletions

View File

@@ -91,6 +91,7 @@ int main(int _U_ argc, char _U_ **argv){
if(MCC_E_OK != Mount.init(Config)) ERRX("Can't init mount");
coordval_pair_t M, E;
if(!getPos(&M, &E)) ERRX("Can't get current position");
printf("Current time: %.10f\n", Mount.currentT());
DBG("xt: %g, x: %g", M.X.t, M.X.val);
if(G.coordsoutput){
if(!G.wait) green("When logging I should wait until moving ends; added '-w'\n");