improved const correctness

This commit is contained in:
muellerr committed 2020-05-27 21:33:34 +02:00
1 parent c4e60946d3
commit 95bf5c1071
7 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ TaskHandle_t BinarySemaphoreUsingTask::getTaskHandle() {
return handle;
}
uint8_t BinarySemaphoreUsingTask::getSemaphoreCounter() {
uint8_t BinarySemaphoreUsingTask::getSemaphoreCounter() const {
uint32_t notificationValue;
xTaskNotifyAndQuery(handle, 0, eNoAction, &notificationValue);
return notificationValue;