Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Aug 19, 2024
1 parent 1df003f commit a7c2b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/safety/safety_bmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RxCheck bmw_rx_checks[] = { // todo add .check_checksum and .max_counter
// todo cruise control type dependant, use param:
// {.msg = {{BMW_CruiseControlStatus, BMW_PT_CAN, 8, .frequency = 50U}, { 0 }, { 0 }}},
// {.msg = {{BMW_DynamicCruiseControlStatus, BMW_F_CAN, 7, .frequency = 100U}, { 0 }, { 0 }}},
// {.msg = {{559, BMW_F_CAN, 8, .frequency = 100U}, { 0 }, { 0 }}},
// {.msg = {{559, BMW_AUX_CAN, 8, .frequency = 100U}, { 0 }, { 0 }}},
};


Expand All @@ -32,8 +34,6 @@ const CanMsg BMW_TX_MSGS[] = {
{558, BMW_AUX_CAN, 5}, // or an standalone network
};

int SAMPLING_FREQ = 100; //Hz

#define KPH_TO_MS 0.277778

#define CAN_BMW_SPEED_FAC 0.1
Expand Down

0 comments on commit a7c2b77

Please sign in to comment.