diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-06-07 01:40:32 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-12-02 04:05:15 +0300 |
commit | 3aed59276c2b7275603f6da18377b77718948667 (patch) | |
tree | 86816d82ab02b6e4761175d599f5749490706792 /src/protocol_18/functions.cc | |
parent | d86ca1e596b094cba101e0e3e6c8cdb71f8116e9 (diff) |
wipp17
Diffstat (limited to 'src/protocol_18/functions.cc')
-rw-r--r-- | src/protocol_18/functions.cc | 12 |
1 files changed, 12 insertions, 0 deletions
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 |