Skip to content

Commit

Permalink
Fixed SPI mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes authored and fpistm committed Nov 18, 2023
1 parent 753366b commit 4d69ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SubGhz/src/SubGhz.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class SubGhzClass {
// supported by the radio, which should always work (no chance of
// bad wiring that requires reducing the speed).
// This value should be passed to `SubGhz.SPI.beginTransaction()`.
static constexpr SPISettings spi_settings = {16000000, MSBFIRST, SPI_MODE_0};
static constexpr SPISettings spi_settings = {16000000, MSBFIRST, SPI_MODE0};

protected:
// To access handleIrq()
Expand Down

0 comments on commit 4d69ea7

Please sign in to comment.