Performed standard indent script indent.sh on project files.
This commit is contained in:
@@ -194,7 +194,7 @@ int npdu_encode_pdu(
|
||||
}
|
||||
}
|
||||
}
|
||||
if (src && src->net && src->len) { /* Only insert if valid */
|
||||
if (src && src->net && src->len) { /* Only insert if valid */
|
||||
len += encode_unsigned16(&npdu[len], src->net);
|
||||
npdu[len++] = src->len;
|
||||
/* SLEN = 0 denotes broadcast MAC SADR and SADR field is absent */
|
||||
@@ -209,7 +209,7 @@ int npdu_encode_pdu(
|
||||
/* destined for a remote network, i.e., if DNET is present. */
|
||||
/* This is a one-octet field that is initialized to a value of 0xff. */
|
||||
if (dest && dest->net) {
|
||||
npdu[len] = npdu_data->hop_count -1;
|
||||
npdu[len] = npdu_data->hop_count - 1;
|
||||
len++;
|
||||
}
|
||||
if (npdu_data->network_layer_message) {
|
||||
|
||||
Reference in New Issue
Block a user