mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-13 06:27:15 +02:00
0.7.46
* send loop skip disabled inverters fix * print generated DTU SN to console
This commit is contained in:
parent
f3192b49ab
commit
69e2a63eab
3 changed files with 22 additions and 17 deletions
|
@ -32,7 +32,7 @@ class HmRadio {
|
|||
public:
|
||||
HmRadio() : mNrf24(CE_PIN, CS_PIN, SPI_SPEED) {
|
||||
if(mSerialDebug) {
|
||||
DPRINT(DBG_VERBOSE, F("hmRadio.h : HmRadio():mNrf24(CE_PIN: "));
|
||||
DPRINT(DBG_VERBOSE, F("hmRadio.h : HmRadio():mNrf24(CE_PIN: "));
|
||||
DBGPRINT(String(CE_PIN));
|
||||
DBGPRINT(F(", CS_PIN: "));
|
||||
DBGPRINT(String(CS_PIN));
|
||||
|
@ -117,8 +117,9 @@ class HmRadio {
|
|||
if(mNrf24.isChipConnected()) {
|
||||
DPRINTLN(DBG_INFO, F("Radio Config:"));
|
||||
mNrf24.printPrettyDetails();
|
||||
}
|
||||
else
|
||||
DPRINT(DBG_INFO, F("DTU_SN: 0x"));
|
||||
DBGPRINTLN(String(DTU_RADIO_ID, HEX));
|
||||
} else
|
||||
DPRINTLN(DBG_WARN, F("WARNING! your NRF24 module can't be reached, check the wiring"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue