Skip to content

Commit

Permalink
Fix Lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Feb 10, 2025
1 parent 17d83a3 commit 5cb97dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ sequenceDiagram

##### sessionStates in SessionManager.js

`SessionManager.js` maintains the following sessionstates:
The `handleRotationImpulse` function of the `SessionManager.js` implements all the state transitions regarding the sessionstates:

```mermaid
stateDiagram-v2
Expand All @@ -223,8 +223,8 @@ stateDiagram-v2
```

> [!NOTE]
> `handleRotationImpulse` implements all these state transitions, where the state transitions for the end of an interval and the end of a session are handled individually as the metrics updates differ slightly.
 
> The state transitions for the end of an interval and the end of a session (i.e. no next interval) are handled individually as the resulting metrics updates differ slightly.
<!-- MD028/no-blanks-blockquote -->
> [!NOTE]
> A session being 'stopped' can technically be turned into a 'Paused' by sending the 'startOrResume' command to the `handleCommand` function of `SessionManager.js`. Some peripherals send this command routinely.
Expand Down

0 comments on commit 5cb97dd

Please sign in to comment.