all cstdout uses wrapped in preprocessor defines

This commit is contained in:
muellerr committed 2021-01-03 13:58:18 +01:00
1 parent 61fc6cac97
commit c19e628d79
96 files changed
+715 -14

No files matched your search

+2
View File
@@ -8,8 +8,10 @@
BinarySemaphoreUsingTask::BinarySemaphoreUsingTask() {
handle = TaskManagement::getCurrentTaskHandle();
if(handle == nullptr) {
#if CPP_OSTREAM_ENABLED == 1
sif::error << "Could not retrieve task handle. Please ensure the"
"constructor was called inside a task." << std::endl;
#endif
}
xTaskNotifyGive(handle);
}