From 788c8399370147296774fa2b9b5aee160dee1082 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Fri, 30 Jun 2023 18:42:06 +0200 Subject: [PATCH] made a func public --- src/kernel/peripherals/Peripherals.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }