Skip to content

Commit

Permalink
Merge pull request #5357 from DipSwitch/pr/fix_cc2538_spi_compile_war…
Browse files Browse the repository at this point in the history
…ning_bp

cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable (backport)
  • Loading branch information
cgundogan committed Apr 20, 2016
2 parents f1dda62 + 12c4d85 commit 118f99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/cc2538/periph/spi.c
Expand Up @@ -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;
Expand Down

0 comments on commit 118f99f

Please sign in to comment.