* updated heuristic #1080 #1259
* fix compile opendtufusion fusion ethernet
This commit is contained in:
lumapu 2023-12-09 17:09:05 +01:00
parent 4afd63184d
commit 240be8cd98
5 changed files with 83 additions and 66 deletions

View file

@ -35,7 +35,11 @@ class HmRadio : public Radio {
HmRadio() {
mDtuSn = DTU_SN;
mIrqRcvd = false;
#if defined(CONFIG_IDF_TARGET_ESP32S3) && defined(ETHERNET)
mNrf24.reset(new RF24());
#else
mNrf24.reset(new RF24(CE_PIN, CS_PIN, SPI_SPEED));
#endif
}
~HmRadio() {}