• Adam Wujek's avatar
    proto-ext-whiterabbit: change the order of fields in struct wr_servo_state · 62e4d20d
    Adam Wujek authored
    In wrpc's SNMP we store an offset between beginning of a structure and
    particullar field. To save memory we store this offset as a uint8_t, which
    limits the offset of a filed to 255 bytes. It was necessary to move following
    fields below 255 offset:
    --n_err_state
    --n_err_offset
    --n_err_delta_rtt
    
    Compiling wrpc-sw with an offset greater than 255, a compiler prints warnings
    like:
    lib/snmp.c:405:2: warning: large integer implicitly truncated to unsigned type
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    62e4d20d
Name
Last commit
Last update
..
Makefile Loading commit data...
common-fun.c 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...