diff options
Diffstat (limited to 'nrf-softdevice-macro')
-rw-r--r-- | nrf-softdevice-macro/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nrf-softdevice-macro/src/lib.rs b/nrf-softdevice-macro/src/lib.rs index 7e2a2e5..8ac6a7e 100644 --- a/nrf-softdevice-macro/src/lib.rs +++ b/nrf-softdevice-macro/src/lib.rs @@ -204,7 +204,7 @@ pub fn gatt_server(args: TokenStream, item: TokenStream) -> TokenStream { code_impl.extend(quote_spanned!(ch.span=> fn #notify_fn( &self, - conn: &Connection, + conn: &#ble::Connection, val: #ty, ) -> Result<(), #ble::gatt_server::NotifyValueError> { let buf = #ty_as_val::to_gatt(&val); |