Skip to content

Commit b1cf889

Browse files
committed
Mark repeated states with a leading asterisk
Signal the difference between new states and repeated states with an asterisk for repeated states in the serial output.
1 parent 15fe85c commit b1cf889

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firmware/RTK_Surveyor/States.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,8 @@ void requestChangeState(SystemState requestedState)
13761376
//Change states and print the new state
13771377
void changeState(SystemState newState)
13781378
{
1379+
if (newState == systemState)
1380+
Serial.print(F("*"));
13791381
systemState = newState;
13801382

13811383
//Debug print

0 commit comments

Comments
 (0)