summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-17 14:31:00 (GMT)
committerJF <jf@codingfield.com>2020-08-17 14:31:00 (GMT)
commit83f6d7d81b80809de0bc850a0b445bc035098dba (patch)
tree1e0187c2f622f17fafe15dad709089d5d04180cb /src/drivers/SpiMaster.cpp
parent18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff)
Fix most of the warnings. Remaining warnings come from nimble source code.
Diffstat (limited to 'src/drivers/SpiMaster.cpp')
-rw-r--r--src/drivers/SpiMaster.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/SpiMaster.cpp b/src/drivers/SpiMaster.cpp
index 8087d38..8d36b9c 100644
--- a/src/drivers/SpiMaster.cpp
+++ b/src/drivers/SpiMaster.cpp
@@ -117,8 +117,6 @@ void SpiMaster::OnEndEvent() {
spiBaseAddress->TASKS_START = 1;
} else {
- uint8_t* buffer = nullptr;
- size_t size = 0;
if(taskToNotify != nullptr) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
vTaskNotifyGiveFromISR(taskToNotify, &xHigherPriorityTaskWoken);