summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Morman <mormjb@gmail.com>2020-06-04 11:55:22 -0400
committermormj <34754695+mormj@users.noreply.github.com>2020-06-04 12:19:45 -0400
commit80094ebd0946dc8285abe6d51d9fb55268aa56ad (patch)
treeec950847145ed11b4431184011095bfe2f6f6835
parentfbef2bad99585ee24024573db90be14b55794098 (diff)
fec: remap enums in yml from int to raw for pybind compatibility
-rw-r--r--gr-fec/grc/variable_ccsds_encoder_def_list.block.yml2
-rw-r--r--gr-fec/grc/variable_polar_code_configurator.block.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-fec/grc/variable_ccsds_encoder_def_list.block.yml b/gr-fec/grc/variable_ccsds_encoder_def_list.block.yml
index 3b5a076ed0..c28e8a1e44 100644
--- a/gr-fec/grc/variable_ccsds_encoder_def_list.block.yml
+++ b/gr-fec/grc/variable_ccsds_encoder_def_list.block.yml
@@ -28,7 +28,7 @@ parameters:
default: '0'
- id: mode
label: Streaming Behavior
- dtype: int
+ dtype: raw
options: ['fec.CC_STREAMING', 'fec.CC_TERMINATED', 'fec.CC_TAILBITING', 'fec.CC_TRUNCATED']
option_labels: [Streaming, Terminated, Tailbiting, Truncated]
value: ${ fec.ccsds_encoder_make(framebits, state_start, mode) }
diff --git a/gr-fec/grc/variable_polar_code_configurator.block.yml b/gr-fec/grc/variable_polar_code_configurator.block.yml
index fb2d8abee3..d7271f654e 100644
--- a/gr-fec/grc/variable_polar_code_configurator.block.yml
+++ b/gr-fec/grc/variable_polar_code_configurator.block.yml
@@ -5,7 +5,7 @@ flags: [ show_id ]
parameters:
- id: channel
label: Channel
- dtype: string
+ dtype: raw
default: polar.CHANNEL_TYPE_BEC
options: [polar.CHANNEL_TYPE_BEC, polar.CHANNEL_TYPE_AWGN]
option_labels: [BEC, AWGN]