Fix boot
This commit is contained in:
parent
31528a4a5b
commit
f1d922bd34
4 changed files with 19 additions and 25 deletions
|
@ -6,7 +6,7 @@ static CAN_message_t CAN_inMsg;
|
|||
|
||||
|
||||
template <typename T>
|
||||
void send_can_with_id_crc(uint8_t id, uint8_t message_type, const T* data) {
|
||||
void send_can_with_id_crc(uint8_t id, uint8_t message_type, T* data) {
|
||||
// Create CAN message
|
||||
CAN_message_t msg_l;
|
||||
msg_l.id = id;
|
||||
|
@ -76,7 +76,6 @@ void send_id() {
|
|||
|
||||
uint8_t id = flash_rec[addr_id].value;
|
||||
send_can_with_id_crc(id,'I',&id);
|
||||
__NOP();
|
||||
}
|
||||
|
||||
// void send_motor_torque() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue