summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-19 16:04:05 +0200
committerGitea <gitea@fake.local>2020-08-19 16:04:05 +0200
commit9906a708c9fcbc13f47bdba0cb8512799a2a3719 (patch)
tree98ad9be1bc27a4ea1b9d5ce53837c20902da96c9 /src/drivers/SpiMaster.cpp
parent18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff)
parent1e1bb1c6b7d7fdf6299c97bc11555b08f034f324 (diff)
Merge branch 'removeWarnings' of JF/PineTime into develop
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 8087d386..8d36b9cd 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);