Skip to content

Commit 6bee723

Browse files
uncommented TSMS override
1 parent 3abffd5 commit 6bee723

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Inc/u_statemachine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef STATE_MACHINE_H
22
#define STATE_MACHINE_H
33

4-
// #define TSMS_OVERRIDE //Uncomment to remove all checks for state machine
4+
#define TSMS_OVERRIDE //Uncomment to remove all checks for state machine
55
// #define IGNORE_FAULT
66

77
#include "u_dti.h"

Core/Src/u_shutdown.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "can_messages_tx.h"
1111

1212
/* Bool to track the BMS shutdown state. */
13-
static _Atomic bool bms_shutdown = false; // We should assume that we are shutdown is open (`false`) until BMS confirms that shutdown is open (`true`).
13+
static _Atomic bool bms_shutdown = false; // We should assume that we are shutdown is open (`false`) until BMS confirms that shutdown is closed (`true`).
1414
// BMS periodically sends out a CAN message reporting the shutdown state. That state is tracked here.
1515
// When this bool is `false`, BMS is indicating that shutdown is open, which is bad.
1616
// When this bool is `true`, BMS is indicating that shutdown is closed, meaning that we are in normal operation and everything is good

0 commit comments

Comments
 (0)