fixed the start and stop behaviour. it was crashing
This commit is contained in:
@@ -84,14 +84,6 @@ func (ds *DeviceService) FindDevices() {
|
||||
}
|
||||
}
|
||||
|
||||
// func (ds *DeviceService) SubscribeFields() error {
|
||||
// for _, dev := range ds.Devices {
|
||||
// fields := dev.RequiredFields()
|
||||
// }
|
||||
//
|
||||
// return nil
|
||||
// }
|
||||
|
||||
func (ds *DeviceService) RegisterDevice(dev peripheral.Peripheral) error {
|
||||
ds.mu.Lock()
|
||||
defer ds.mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user