made peripherals a static class
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user