We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c55511 commit e997fc4Copy full SHA for e997fc4
src/transport/unicast/rx.c
@@ -146,7 +146,7 @@ z_result_t _z_unicast_handle_transport_message(_z_transport_unicast_t *ztu, _z_t
146
if (_Z_HAS_FLAG(t_msg->_header, _Z_FLAG_T_FRAME_R) == true) {
147
// @TODO: amend once reliability is in place. For the time being only
148
// monotonic SNs are ensured
149
- if (_z_sn_precedes(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._frame._sn) == true) {
+ if (_z_sn_precedes(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._frame._sn)) {
150
bool consecutive =
151
_z_sn_consecutive(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._fragment._sn);
152
ztu->_sn_rx_reliable = t_msg->_body._frame._sn;
0 commit comments