• Alessandro Rubini's avatar
    stat: only print statistics when something happened · a9114d22
    Alessandro Rubini authored
    This change monitors the update_count of wr_servo, and only prints
    a statistics line when something happens.
    
    This means we won't have long "TRACK_PHASE" listings when the master
    is dead. Moreover, we see changes when they happen, not at a random
    time during the next second.
    
    The bad side of the thing is that if nothing happens in the wr servo,
    nothing is ever printed. But see next commit.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    a9114d22
Name
Last commit
Last update
..
monitor_ppsi.c Loading commit data...