Skip to content

Conversation

@zanderdo
Copy link
Contributor

@zanderdo zanderdo commented Mar 6, 2025

component config files

@zanderdo zanderdo requested a review from bcmarcus March 6, 2025 01:50
@@ -155,43 +132,4 @@ HeaterConfig* GET_HEATER_CONFIG(const uint32_t can_id) {
return NULL; // Return NULL if no match is found
}


// instance-- is after because zero indexed
uint32_t GET_SERVO_CAN_ID(const uint32_t* board_uid, uint8_t instance) {
Copy link
Contributor

Choose a reason for hiding this comment

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

How can you access the individual sensors based on the ID and instance number without these?

Copy link
Contributor

Choose a reason for hiding this comment

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

I reckon you can also move all of the functions from this file into the other ones, like servo_config.h for instance.

@@ -155,43 +132,4 @@ HeaterConfig* GET_HEATER_CONFIG(const uint32_t can_id) {
return NULL; // Return NULL if no match is found
}


// instance-- is after because zero indexed
uint32_t GET_SERVO_CAN_ID(const uint32_t* board_uid, uint8_t instance) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I reckon you can also move all of the functions from this file into the other ones, like servo_config.h for instance.

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.

3 participants