all cstdout uses wrapped in preprocessor defines
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user