mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	BLE: minor code cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									bf3cc2f64b
								
							
						
					
					
						commit
						a8468caaa2
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -85,7 +85,6 @@ void BLEObject::characteristicWritten(const QLowEnergyCharacteristic &c, const Q | |||
| 
 | ||||
| void BLEObject::writeCompleted(const QLowEnergyDescriptor &d, const QByteArray &value) | ||||
| { | ||||
| 	Q_UNUSED(d) | ||||
| 	Q_UNUSED(value) | ||||
| 
 | ||||
| 	qDebug() << "BLE write completed on" << d.name() <<  d.value(); | ||||
|  | @ -104,8 +103,7 @@ void BLEObject::addService(const QBluetoothUuid &newService) | |||
| 		 */ | ||||
| 		if (newService != QUuid("{0000fefb-0000-1000-8000-00805f9b34fb}")) | ||||
| 			return; // skip all services except the right one
 | ||||
| 	} else | ||||
| 	if (isStandardUuid) { | ||||
| 	} else if (isStandardUuid) { | ||||
| 		qDebug () << " .. ignoring standard service"; | ||||
| 		return; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue