pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/31005 )
Change subject: layer23: Use shift operand to define bitmask values ......................................................................
layer23: Use shift operand to define bitmask values
Change-Id: I22e2f543c077a4df4623c5e3bd44f8f068596baf --- M src/host/layer23/include/osmocom/bb/common/l23_app.h 1 file changed, 5 insertions(+), 5 deletions(-)
Approvals: Jenkins Builder: Verified dexter: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
diff --git a/src/host/layer23/include/osmocom/bb/common/l23_app.h b/src/host/layer23/include/osmocom/bb/common/l23_app.h index 3c07f70..46c3f44 100644 --- a/src/host/layer23/include/osmocom/bb/common/l23_app.h +++ b/src/host/layer23/include/osmocom/bb/common/l23_app.h @@ -6,11 +6,11 @@
/* Options supported by the l23 app */ enum { - L23_OPT_SAP = 1, - L23_OPT_ARFCN = 2, - L23_OPT_TAP = 4, - L23_OPT_VTY = 8, - L23_OPT_DBG = 16, + L23_OPT_SAP = 1 << 0, + L23_OPT_ARFCN = 1 << 1, + L23_OPT_TAP = 1 << 2, + L23_OPT_VTY = 1 << 3, + L23_OPT_DBG = 1 << 4, };
extern void *l23_ctx;
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.