aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/comm
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/comm')
-rw-r--r--wirish/comm/HardwareSPI.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/wirish/comm/HardwareSPI.cpp b/wirish/comm/HardwareSPI.cpp
index 49dad71..e083ac1 100644
--- a/wirish/comm/HardwareSPI.cpp
+++ b/wirish/comm/HardwareSPI.cpp
@@ -79,8 +79,6 @@ static const uint32 prescaleFactors[MAX_SPI_FREQS] = {
*/
void HardwareSPI::begin(SPIFrequency freq, uint32 endianness, uint32 mode) {
uint32 spi_num = this->spi_num;
- uint32 high_speed = 0;
- uint32 index;
uint32 prescale;
if ((freq >= MAX_SPI_FREQS) ||