Closed
Description
I am playing around on a few recipes, and one thing that confuses me is when I should use some rtos::
vs some mbed::
namespaces when using functions / classes from Mbed-OS. For example:
rtos::Mutex use_reed_values;
but:
mbed::ScopedLock<rtos::Mutex> lock_reed{use_reed_values};
- am I doing something wrong (cannot be that wrong, it compiles ^^), or more complicated than it needs?
- what is the logics behind which prefix to use / am I / what am I missing? :)
- is it possible that there is something in how the core is set up that actually makes this more complicated than it needs? Should / could all of
rtos::
simply bembed::
instead?
Metadata
Metadata
Assignees
Labels
No labels