mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-08 14:45:55 +02:00
remove explicit HSPI call as it breaks 8266 builds
This commit is contained in:
parent
8c36093dd7
commit
e3aa64b5cb
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class HmRadio {
|
|||
// change the byte order of the DTU serial number and append the required 0x01 at the end
|
||||
DTU_RADIO_ID = ((uint64_t)(((dtuSn >> 24) & 0xFF) | ((dtuSn >> 8) & 0xFF00) | ((dtuSn << 8) & 0xFF0000) | ((dtuSn << 24) & 0xFF000000)) << 8) | 0x01;
|
||||
|
||||
SPIClass* mSpi = new SPIClass(HSPI);
|
||||
SPIClass* mSpi = new SPIClass();
|
||||
mSpi->begin(sclk, miso, mosi, cs);
|
||||
mNrf24.begin(mSpi, ce, cs);
|
||||
mNrf24.setRetries(3, 15); // 3*250us + 250us and 15 loops -> 15ms
|
||||
|
|
Loading…
Add table
Reference in a new issue