made peripherals a static class

This commit is contained in:
2023-07-27 20:38:23 +02:00
parent a93ee1cddf
commit 9deea0ee98
14 changed files with 42 additions and 52 deletions

View File

@@ -149,7 +149,7 @@ class KernelEvents {
public static function shutdown() {
// clearing screens
for (screen in Peripheral.instance.getAllScreens()) {
for (screen in Peripheral.getAllScreens()) {
screen.reset();
}