Merge pull request #5356 from DipSwitch/pr/fix_cc2538_spi_compile_warning

cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable
This commit is contained in:
kYc0o 2016-04-20 14:47:54 +02:00
commit 591b0ab3ac

View File

@ -215,7 +215,7 @@ int spi_release(spi_t dev)
static char ssi_flush_input(cc2538_ssi_t *ssi)
{
char tmp;
char tmp = 0;
while (ssi->SRbits.RNE) {
tmp = ssi->DR;