Don't wait after reaching 95%

This commit is contained in:
Jasper Blanckenburg 2023-04-29 23:45:59 +02:00
parent c43b6a3b6e
commit 6810790349
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@
// Minimum vehicle side voltage to exit precharge
#define MIN_VEHICLE_SIDE_VOLTAGE 150000 // mV
// Time to wait after reaching 95% of battery voltage before exiting precharge
#define PRECHARGE_95_DURATION 500 // ms
// Set this to 1000 in scruti to demonstrate the voltage on the multimeter
#define PRECHARGE_95_DURATION 0 // ms
// Time to wait for discharge
#define DISCHARGE_DURATION 5000 // ms
// Time to wait after there is no more error condition before exiting TS_ERROR