diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-04-25 18:17:52 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-04-25 18:17:52 -0400 |
commit | 3bd0b34803173100db3699e62c021fb04042c495 (patch) | |
tree | 06afab2539b65b2415fb55bc99826248fe60bf95 /wirish | |
parent | 4ccbeb08e64b6bc7cee1f54a04001eff778b4282 (diff) | |
download | librambutan-3bd0b34803173100db3699e62c021fb04042c495.tar.gz librambutan-3bd0b34803173100db3699e62c021fb04042c495.zip |
Fixed two compiler warnings in spi
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/comm/HardwareSPI.cpp | 2 |
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) || |