check string length

main
Jean-Michel Friedt 2023-03-05 14:46:39 +01:00
parent 65b634bf18
commit f4585506f5
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ parameters:
asserts:
- ${ type < 65536 }
- ${ len(dst_id) < 10 }
- ${ len(src_id) < 10 }
templates:
imports: from gnuradio import m17
make: m17.m17_coder(${src_id},${dst_id},${type},${meta},${debug})