From e0b38a8c60cfb5c8ef09e794c5c6b14a1013f69c Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Fri, 16 Aug 2024 11:59:15 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/ble/ble_enum.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/ble/ble_enum.go b/modules/ble/ble_enum.go index 0bedc148..56560548 100644 --- a/modules/ble/ble_enum.go +++ b/modules/ble/ble_enum.go @@ -100,12 +100,6 @@ func (mod *BLERecon) startEnumeration(address string) error { char.MTU = mtu } - if props, err := ch.Properties(); err != nil { - - } else { - - } - mod.Session.Events.Add("ble.device.characteristic.discovered", ch) name := char.Name