opensafety: Use 1<<10 (not 2^10) in a #define;

Comment out the #define since it's not actually used. :)

Change-Id: Ia34200d3eb705a74a33cbcf18175a7f780f2d2e2
Reviewed-on: https://code.wireshark.org/review/5128
Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
Bill Meier 2014-11-04 22:34:51 -05:00
parent dfb5ddb8d6
commit 6aee9b1c81
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ void proto_reg_handoff_opensafety(void);
/* This is defined by the specification. The Address field is 10 bits long, and the node with the number
* 1 is always the SCM, therefore ( 2 ^ 10 ) - 1 nodes can be addressed. We use 2 ^ 10 here, because the
* SCM can talk to himself (Assign SADR for instance ) */
#define MAX_NUMBER_OF_SAFETY_NODES ( 2 ^ 10 )
/* #define MAX_NUMBER_OF_SAFETY_NODES ( 1 << 10 ) */
/* Tracks the information that the packet pinfo has been received by receiver, and adds that information to the tree, using pos, as
* byte position in the PDU */