Skip to content

Fix Clock fault condition #9

@bschulz1701

Description

@bschulz1701

Currently when no clock battery is installed, the message printed is

Clock:  PASS, BAD TIME
 FAIL

This triggers both an OBError and a TimeError, fix such that if the clock does not increment (which will correctly cause an OBError), then this invalidates a TimeError and the resurned result should simply be

Clock: FAIL

Triggering just an OBError, not a TimeError since this (while technically correct) is confusing and can give the illusion from light states that the clock is not the problem

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions