Edited for style conformance

This commit is contained in:
Josh 2018-01-03 22:24:32 +11:00 committed by GitHub
parent 5a994fe437
commit 7bb5f68ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ public class CubotComPort extends CpuHardware {
} else if (a == COMPORT_CONSOLE_CLEAR) {
cubot.setConsoleMode(Cubot.ConsoleMode.CLEAR);
} else if (a == COMPORT_POLL) {
if (cubot.spendEnergy(4)) {