From 3aed59276c2b7275603f6da18377b77718948667 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 7 Jun 2021 01:40:32 +0300 Subject: wip --- src/protocol_18/functions.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/protocol_18/functions.cc (limited to 'src/protocol_18/functions.cc') diff --git a/src/protocol_18/functions.cc b/src/protocol_18/functions.cc new file mode 100644 index 0000000..9799fc0 --- /dev/null +++ b/src/protocol_18/functions.cc @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause + +#include "functions.h" + +namespace p18 { + +bool is_valid_parallel_id(unsigned id) +{ + return id >= 0 && id <= 6; +} + +} \ No newline at end of file -- cgit v1.2.3