made peripherals a static class
This commit is contained in:
@@ -131,7 +131,7 @@ class HomeContext {
|
||||
}
|
||||
|
||||
private function cycleOutput() {
|
||||
var screenAddr = Peripheral.instance.findAddrByType(Screen.TYPE_NAME);
|
||||
var screenAddr = Peripheral.findAddrByType(Screen.TYPE_NAME);
|
||||
|
||||
if (selectedOutputIndex == -1) {
|
||||
selectedOutputIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user