Skip to content
Snippets Groups Projects
Commit 591b0ab3 authored by kYc0o's avatar kYc0o
Browse files

Merge pull request #5356 from DipSwitch/pr/fix_cc2538_spi_compile_warning

cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable
parents c24e91d4 eb6eed6c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment