1
0
forked from fsfw/fsfw

improved const correctness

This commit is contained in:
2020-05-27 21:33:34 +02:00
parent c4e60946d3
commit 95bf5c1071
7 changed files with 8 additions and 9 deletions

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;