• Alessandro Rubini's avatar
    bugfix: correctionField conversion · a1b8d474
    Alessandro Rubini authored
    I initially looked at int64_to_TimeInternal to swap arguments, since
    to_TimeInternal as timeinternal (the output) as first argument, and
    they appeared in pairs.  However, int64_to_TimeInternal is only used
    for correction fields, and they are scaled nanoseconds (page 126), not
    nanoseconds.
    
    Thus, this commit fixes the conversion and renames the function to
    "cField_to_TimeInternal" to better tell the reader what it is.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    a1b8d474
Name
Last commit
Last update
..
Makefile Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
state-wr-calibrated.c Loading commit data...
state-wr-calibration.c Loading commit data...
state-wr-link-on.c Loading commit data...
state-wr-locked.c Loading commit data...
state-wr-m-lock.c Loading commit data...
state-wr-present.c Loading commit data...
state-wr-resp-calib-req.c Loading commit data...
state-wr-s-lock.c Loading commit data...
wr-api.h Loading commit data...
wr-constants.h Loading commit data...
wr-msg.c Loading commit data...
wr-servo.c Loading commit data...