diff --git a/src/kernel/peripherals/Peripherals.hx b/src/kernel/peripherals/Peripherals.hx index 30d1824..d384ee5 100644 --- a/src/kernel/peripherals/Peripherals.hx +++ b/src/kernel/peripherals/Peripherals.hx @@ -36,7 +36,7 @@ class Peripheral { return cc.Peripheral.getType(addr).toArray(); } - private function findAddrByType(type: String): Array { + public function findAddrByType(type: String): Array { return getAllAddresses().filter(addr -> getTypes(addr).contains(type)); }