Skip to content

added the HindsightCAN lib#1

Open
FLinLan wants to merge 10 commits into
mainfrom
add-hindsightcan
Open

added the HindsightCAN lib#1
FLinLan wants to merge 10 commits into
mainfrom
add-hindsightcan

Conversation

@FLinLan

@FLinLan FLinLan commented Apr 19, 2025

Copy link
Copy Markdown

No description provided.

Comment thread CAN_Bridge.cydsn/main.c Outdated
p->dlc = i;
}

uint32_t decodeFromBytes(int msb_index, int lsb_index, uint8_t data[]) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is already a function in CANPacket.c DecodeBytesToIntMSBFirst() that does something similar. If this one is different, then you should use it, but i would double check since it would be better to avoid duplicate functions

Comment thread CAN_Bridge.cydsn/main.c Outdated

Print(txData);

// LED_DBG_Write(0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can delete the commented out lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants