Skip to content

Commit

Permalink
Clarify initialisation
Browse files Browse the repository at this point in the history
(I missed one)
  • Loading branch information
bubner committed Nov 28, 2024
1 parent 3260661 commit bbc0a26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ abstract class RobotConfig {
if (opMode is BunyipsOpMode) {
Exceptions.runUserMethod(::onRuntime, opMode)
opMode.t.add(
"<b>${this.javaClass.simpleName}</b>: Completed with ${if (Storage.memory().hardwareErrors.size > 0) "<font color='red'>${Storage.memory().hardwareErrors.size} error(s)</font>" else "<font color='green'>0 errors</font>"}.",
"<b>${this.javaClass.simpleName}</b>: Initialisation completed with ${if (Storage.memory().hardwareErrors.size > 0) "<font color='red'>${Storage.memory().hardwareErrors.size} error(s)</font>" else "<font color='green'>0 errors</font>"}.",
)
} else {
onRuntime()
Expand Down

0 comments on commit bbc0a26

Please sign in to comment.