Commit 67ee700 1 parent e2aaa24 commit 67ee700 Copy full SHA for 67ee700
File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,8 @@ impl BLECharacteristic {
235
235
} ) ;
236
236
}
237
237
self
238
- . svc_def_descriptors
239
- . push ( sys:: ble_gatt_dsc_def:: default ( ) ) ;
238
+ . svc_def_descriptors
239
+ . push ( sys:: ble_gatt_dsc_def:: default ( ) ) ;
240
240
self . svc_def_descriptors . as_mut_ptr ( )
241
241
}
242
242
@@ -404,9 +404,9 @@ impl BLECharacteristic {
404
404
}
405
405
406
406
if let Some ( idx) = self
407
- . subscribed_list
408
- . iter ( )
409
- . position ( |x| x. 0 == subscribe. conn_handle )
407
+ . subscribed_list
408
+ . iter ( )
409
+ . position ( |x| x. 0 == subscribe. conn_handle )
410
410
{
411
411
if !sub_val. is_empty ( ) {
412
412
self . subscribed_list [ idx] . 1 = sub_val;
@@ -445,9 +445,9 @@ impl BLECharacteristic {
445
445
impl core:: fmt:: Debug for BLECharacteristic {
446
446
fn fmt ( & self , f : & mut core:: fmt:: Formatter < ' _ > ) -> core:: fmt:: Result {
447
447
f. debug_struct ( "BLECharacteristic" )
448
- . field ( "uuid" , & BleUuid :: from ( self . uuid ) )
449
- . field ( "properties" , & self . properties )
450
- . finish ( )
448
+ . field ( "uuid" , & BleUuid :: from ( self . uuid ) )
449
+ . field ( "properties" , & self . properties )
450
+ . finish ( )
451
451
}
452
452
}
453
453
You can’t perform that action at this time.
0 commit comments