Skip to content

Commit f465d36

Browse files
committed
RPI: add back uint8_t spi_bits = 8; // Default to 8 bits per word
1 parent 7f75608 commit f465d36

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ArduinoCore-Linux/cores/rasperry_pi/HardwareSPI_RPI.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class HardwareSPI_RPI : public HardwareSPI {
3535
const char* device = "/dev/spidev0.0";
3636
uint32_t spi_speed = 500000; // Default to 500kHz
3737
uint8_t spi_mode = 0; // Default to SPI mode 0
38+
uint8_t spi_bits = 8; // Default to 8 bits per word
3839
};
3940

4041
} // namespace arduino

0 commit comments

Comments
 (0)