made peripherals a static class
This commit is contained in:
@@ -35,7 +35,7 @@ class Res extends CLIAppBase {
|
||||
return false;
|
||||
}
|
||||
|
||||
var perf: kernel.peripherals.Redstone = Peripheral.instance.getRedstone(addr);
|
||||
var perf: kernel.peripherals.Redstone = Peripheral.getRedstone(addr);
|
||||
|
||||
if (perf == null) {
|
||||
handle.writeLine("Error: peripheral not found");
|
||||
|
||||
Reference in New Issue
Block a user