The code is in _C_ the syntax highlighter says _C++_. _C++_ highlighting works with _C_.
A number of RTOS allow the use of restricted C++ with complex features disabled; often called C with classes. The compiler used will most likely _C/C++_ versus only _C_. Example: µC/OS-II used in military, aerospace, and medical applications. [0]
Comments
dude talks about measuring C while the code he shows is C++.
The code is in _C_ the syntax highlighter says _C++_. _C++_ highlighting works with _C_.
A number of RTOS allow the use of restricted C++ with complex features disabled; often called C with classes. The compiler used will most likely _C/C++_ versus only _C_. Example: µC/OS-II used in military, aerospace, and medical applications. [0]
[0] https://micrium.atlassian.net/wiki/spaces/osiidoc/pages/1638...