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;
mbed::ScopedLock<rtos::Mutex> lock_reed{use_reed_values};
I am playing around on a few recipes, and one thing that confuses me is when I should use some
rtos::vs somembed::namespaces when using functions / classes from Mbed-OS. For example:https://github.com/jerabaul29/Artemis_MbedOS_recipes/blob/dd4c9fcbfec38fb09a3675a494fb442119336247/recipes/recipe_reed/test_reed_switch_3pins/test_reed_switch_3pins.ino#L13
but:
https://github.com/jerabaul29/Artemis_MbedOS_recipes/blob/dd4c9fcbfec38fb09a3675a494fb442119336247/recipes/recipe_reed/test_reed_switch_3pins/test_reed_switch_3pins.ino#L29
rtos::simply bembed::instead?