Apply modern C++ to that module. Use constexpr for configuration constants. Replace raw arrays with std::array. Wrap resource ...
I recently presented arguments for and against using dynamic memory allocation in C and C++ programs. 1 I do agree that truly safety-critical systems should avoid using dynamic allocation because the ...