Fix BluetoothUUID typo

This commit is contained in:
Attila Dusnoki 2016-12-06 14:16:33 +01:00
parent 6c3e94805f
commit 7e74e340dc

View file

@ -296,7 +296,7 @@ impl BluetoothUUID {
resolve_uuid_name(name, BLUETOOTH_ASSIGNED_SERVICES, SERVICE_PREFIX)
}
pub fn characteristic(name: BluetoothServiceUUID) -> Fallible<UUID> {
pub fn characteristic(name: BluetoothCharacteristicUUID) -> Fallible<UUID> {
resolve_uuid_name(name, BLUETOOTH_ASSIGNED_CHARCTERISTICS, CHARACTERISTIC_PREFIX)
}