• 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...
arith.c Loading commit data...
bmc.c Loading commit data...
common-fun.c Loading commit data...
common-fun.h Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
msg.c Loading commit data...
open-close.c Loading commit data...
servo.c Loading commit data...
state-disabled.c Loading commit data...
state-faulty.c Loading commit data...
state-initializing.c Loading commit data...
state-listening.c Loading commit data...
state-master.c Loading commit data...
state-passive.c Loading commit data...
state-pre-master.c Loading commit data...
state-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...
timeout.c Loading commit data...