Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Radio board assumes how many boards there are in the rocket #3

Open
akmorrison opened this issue Oct 26, 2020 · 0 comments
Open

Radio board assumes how many boards there are in the rocket #3

akmorrison opened this issue Oct 26, 2020 · 0 comments

Comments

@akmorrison
Copy link
Member

Radio board assumes that there are no more than 0x0E boards in the rocket, because that's the maximum from IREC 2019. The definition is here:

#define MAX_BOARD_UNIQUE_ID 0x0E

Ideally, that macro should be sourced from message_types.h, since that's where the board ID's are tracked and it knows what the maximum number is.

If we don't move this macro, or at least increment it for remote arming/fill sensing, radio board will report an ILLEGAL_CAN_MSG error every time it receives a message from them, which'll be often

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant