Use increment_dropped_count() internally in push()

This commit is contained in:
J. Nick Koston
2026-03-31 21:33:57 -10:00
parent 1e156d46b6
commit b829bbee95
+1 -3
View File
@@ -39,9 +39,7 @@ template<class T, uint8_t SIZE> class FreeRTOSQueue {
return false;
if (xQueueSend(this->handle_, &element, 0) != pdPASS) {
portENTER_CRITICAL();
this->dropped_count_++;
portEXIT_CRITICAL();
this->increment_dropped_count();
return false;
}
return true;