Merge panda subtree

pull/236/head
Vehicle Researcher 7 years ago
commit e41761eb1b
  1. 2
      panda/VERSION
  2. 4
      panda/board/drivers/can.h

@ -1 +1 @@
v1.1.0 v1.1.1

@ -86,7 +86,7 @@ int can_err_cnt = 0;
uint8_t can_num_lookup[] = {0,1,2,-1}; uint8_t can_num_lookup[] = {0,1,2,-1};
int8_t can_forwarding[] = {-1,-1,-1,-1}; int8_t can_forwarding[] = {-1,-1,-1,-1};
uint32_t can_speed[] = {5000, 5000, 5000, 333}; uint32_t can_speed[] = {5000, 5000, 5000, 333};
bool can_autobaud_enabled[] = {true, true, true, false}; bool can_autobaud_enabled[] = {false, false, false, false};
#define CAN_MAX 3 #define CAN_MAX 3
#else #else
CAN_TypeDef *cans[] = {CAN1, CAN2}; CAN_TypeDef *cans[] = {CAN1, CAN2};
@ -94,7 +94,7 @@ int can_err_cnt = 0;
uint8_t can_num_lookup[] = {1,0}; uint8_t can_num_lookup[] = {1,0};
int8_t can_forwarding[] = {-1,-1}; int8_t can_forwarding[] = {-1,-1};
uint32_t can_speed[] = {5000, 5000}; uint32_t can_speed[] = {5000, 5000};
bool can_autobaud_enabled[] = {true, true}; bool can_autobaud_enabled[] = {false, false};
#define CAN_MAX 2 #define CAN_MAX 2
#endif #endif

Loading…
Cancel
Save