made a func public
This commit is contained in:
@@ -36,7 +36,7 @@ class Peripheral {
|
|||||||
return cc.Peripheral.getType(addr).toArray();
|
return cc.Peripheral.getType(addr).toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function findAddrByType(type: String): Array<String> {
|
public function findAddrByType(type: String): Array<String> {
|
||||||
return getAllAddresses().filter(addr -> getTypes(addr).contains(type));
|
return getAllAddresses().filter(addr -> getTypes(addr).contains(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user