Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/stm32f1: remove leftover from #5921 #5966

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cpu/stm32f1/periph/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ int spi_transfer_bytes(spi_t dev, char *out, char *in, unsigned int length)
{

SPI_TypeDef *spi;
int transferred = 0;

switch (dev) {
#if SPI_0_EN
Expand Down Expand Up @@ -242,7 +241,7 @@ int spi_transfer_bytes(spi_t dev, char *out, char *in, unsigned int length)
}
#endif /*ENABLE_DEBUG */

return transferred;
return length;
}

void spi_transmission_begin(spi_t dev, char reset_val)
Expand Down