only:moving magic constants

This commit is contained in:
rusefillc 2024-06-29 11:06:05 -04:00
parent fa6cdc40db
commit 8ee7d073a8
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;