mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Refactor CAN interval parameters
This commit is contained in:
parent
d0efc4f3fc
commit
df374d67ce
12 changed files with 77 additions and 95 deletions
|
@ -56,4 +56,24 @@
|
|||
// Common definitions
|
||||
#define MAX_AMOUNT_CELLS 192
|
||||
|
||||
#define INTERVAL_10_MS 10
|
||||
#define INTERVAL_20_MS 20
|
||||
#define INTERVAL_30_MS 30
|
||||
#define INTERVAL_50_MS 50
|
||||
#define INTERVAL_100_MS 100
|
||||
#define INTERVAL_200_MS 200
|
||||
#define INTERVAL_500_MS 500
|
||||
#define INTERVAL_640_MS 640
|
||||
#define INTERVAL_1_S 1000
|
||||
#define INTERVAL_5_S 5000
|
||||
#define INTERVAL_10_S 10000
|
||||
#define INTERVAL_60_S 60000
|
||||
|
||||
#define INTERVAL_10_MS_DELAYED 15
|
||||
#define INTERVAL_20_MS_DELAYED 30
|
||||
#define INTERVAL_30_MS_DELAYED 40
|
||||
#define INTERVAL_100_MS_DELAYED 120
|
||||
|
||||
#define BOOTUP_TIME 1000 // Time in ms it takes before system is considered fully started up
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue