Skip to content

Commit

Permalink
0.8.106
Browse files Browse the repository at this point in the history
fix compile
  • Loading branch information
lumapu committed Apr 5, 2024
1 parent 6a56432 commit 435aa17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
#ifndef DEF_MOTION_SENSOR_PIN
#define DEF_MOTION_SENSOR_PIN DEF_PIN_OFF
#endif
#else
#else // ESP8266
#ifndef DEF_NRF_CS_PIN
#define DEF_NRF_CS_PIN 15
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/hm/NrfRadio.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class NrfRadio : public Radio {
#if defined(SPI_HAL)
//mNrf24.reset(new RF24());
#else
mNrf24.reset(new RF24(CE_PIN, CS_PIN, SPI_SPEED));
mNrf24.reset(new RF24(DEF_NRF_CE_PIN, DEF_NRF_CS_PIN, SPI_SPEED));
#endif
}
~NrfRadio() {}
Expand Down

0 comments on commit 435aa17

Please sign in to comment.