only:moving magic constants
This commit is contained in:
parent
fa6cdc40db
commit
8ee7d073a8
|
@ -19,9 +19,6 @@
|
|||
|
||||
#include "periodic_thread_controller.h"
|
||||
|
||||
#define CAN_PEDAL_TPS_OFFSET 2
|
||||
#define CAN_SENSOR_1_OFFSET 3
|
||||
|
||||
#define CAN_TIMEOUT MS2NT(100)
|
||||
|
||||
//can tx periodic task cycle time in frequency, 200hz -> 5ms period
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
#include "fuel_math.h"
|
||||
#include "spark_logic.h"
|
||||
|
||||
#define CAN_PEDAL_TPS_OFFSET 2
|
||||
#define CAN_SENSOR_1_OFFSET 3
|
||||
|
||||
struct Status {
|
||||
uint16_t warningCounter;
|
||||
uint16_t lastErrorCode;
|
||||
|
|
Loading…
Reference in New Issue