all cstdout uses wrapped in preprocessor defines
This commit is contained in:
1 parent
61fc6cac97
commit
c19e628d79
96 files changed
+715
-14
No files matched your search
@@ -4,8 +4,10 @@
|
||||
CountingSemaphore::CountingSemaphore(const uint8_t maxCount, uint8_t initCount):
|
||||
maxCount(maxCount), initCount(initCount) {
|
||||
if(initCount > maxCount) {
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::error << "CountingSemaphoreUsingTask: Max count bigger than "
|
||||
"intial cout. Setting initial count to max count." << std::endl;
|
||||
#endif
|
||||
initCount = maxCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user