X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fcenter-3xx%2Fprotocol.c;h=35fe15538642ee71fa43372d92ca0f07d11bf2ed;hp=196e29de076dc7f96d31b40b736eacdff945498d;hb=f0aec556058d3121585211d8526a0b4cc617684a;hpb=4c5f70063ad6ae311809ee7818ddc9070fbe05cf diff --git a/src/hardware/center-3xx/protocol.c b/src/hardware/center-3xx/protocol.c index 196e29de..35fe1553 100644 --- a/src/hardware/center-3xx/protocol.c +++ b/src/hardware/center-3xx/protocol.c @@ -89,7 +89,7 @@ static int packet_parse(const uint8_t *buf, int idx, struct center_info *info) /* Byte 7+8/9+10/11+12/13+14: channel T1/T2/T3/T4 temperature. */ for (i = 0; i < NUM_CHANNELS; i++) { - temp_i16 = RL16S(&buf[7 + 2 * i]); + temp_i16 = RB16S(&buf[7 + 2 * i]); info->temp[i] = (float)temp_i16; }