summaryrefslogtreecommitdiff
path: root/nrf-softdevice-macro/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nrf-softdevice-macro/src/lib.rs')
-rw-r--r--nrf-softdevice-macro/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nrf-softdevice-macro/src/lib.rs b/nrf-softdevice-macro/src/lib.rs
index 53d50f3..063bc20 100644
--- a/nrf-softdevice-macro/src/lib.rs
+++ b/nrf-softdevice-macro/src/lib.rs
@@ -149,6 +149,7 @@ pub fn gatt_server(args: TokenStream, item: TokenStream) -> TokenStream {
can_notify: #notify,
can_indicate: #indicate,
max_len: #ty_as_val::MAX_SIZE as _,
+ vlen: #ty_as_val::MAX_SIZE != #ty_as_val::MIN_SIZE,
},
&[123],
)?;