RTOS has its own queue type, and CDH prefers this over the custom CANQueue structure. Therefore, implement the option to use an RTOS queue instead. The user can decide to use the RTOS queue by placing a #define statement above the #include for CAN Wrapper.
Update: This will be a bit more work than anticipated. CDH uses a task scheduling system which complicates things a bit. I'm currently rethinking the design for processing messages. Bare with me!
RTOS has its own queue type, and CDH prefers this over the custom CANQueue structure. Therefore, implement the option to use an RTOS queue instead. The user can decide to use the RTOS queue by placing a
#define
statement above the#include
for CAN Wrapper.Like so: