Skip to content

Commit c5d3dca

Browse files
authored
Merge pull request #120 from LeeLeahy2/repeated-states
Mark repeated states with a leading asterisk
2 parents eded1ed + e6964c9 commit c5d3dca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Firmware/RTK_Surveyor/States.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,9 @@ void requestChangeState(SystemState requestedState)
13891389
//Change states and print the new state
13901390
void changeState(SystemState newState)
13911391
{
1392+
if (newState == systemState)
1393+
Serial.print(F("*"));
1394+
13921395
reportHeapNow();
13931396
systemState = newState;
13941397

0 commit comments

Comments
 (0)