-
Notifications
You must be signed in to change notification settings - Fork 878
Open
Labels
hardwareNew hardware or architecture support requestNew hardware or architecture support request
Description
On every call that has a name in the parameters e.g. tx_byte_pool_create, tx_timer_create, etc the name_ptr should be const CHAR *name_ptr instead of the current CHAR *name_ptr.
It's not only a GP to give that hint to the compiler but also makes the code usable in C++ without having to add a cast on each of those names. (ISO C++ forbids converting a string constant to 'CHAR*').
If you want it, I have a PR ready with this fix.
Metadata
Metadata
Assignees
Labels
hardwareNew hardware or architecture support requestNew hardware or architecture support request