Skip to content
  • Alessandro Rubini's avatar
    state-slave: simplify conversions · ec422bda
    Alessandro Rubini authored
    
    
    Since timeInternal is seconds and nanoseconds, avoid copying both
    and a temporary variable by just storing them to the target structure.
    
    This is also meant to avoid a WR-specific hook in the next commit,
    since timeInternal in WR is more fields than seconds and nanoseconds.
    
    Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
    ec422bda