Skip to content

Commit

Permalink
Change hardcoded /dev/spidev0.1 to /dev/spidev0.0 when connecting to …
Browse files Browse the repository at this point in the history
…/dev/spidev0.0 (#28)
  • Loading branch information
Nate Johnson committed May 24, 2016
1 parent 34eff19 commit aa224f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/raspberrypi_video/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int SpiOpenPort (int spi_device)
if (spi_device)
*spi_cs_fd = open(std::string("/dev/spidev0.1").c_str(), O_RDWR);
else
*spi_cs_fd = open(std::string("/dev/spidev0.1").c_str(), O_RDWR);
*spi_cs_fd = open(std::string("/dev/spidev0.0").c_str(), O_RDWR);

if (*spi_cs_fd < 0)
{
Expand Down

0 comments on commit aa224f1

Please sign in to comment.