mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-29 22:27:13 +02:00
0.8.76
* revert changes from yesterday regarding snprintf and its size #1410, #1411 * reduced cppcheck linter warnings significantly * try to improve ePaper (ghosting) #1107
This commit is contained in:
parent
c447049e84
commit
7c532ca1cc
23 changed files with 164 additions and 158 deletions
|
@ -395,9 +395,9 @@ class HmRadio : public Radio {
|
|||
#endif*/
|
||||
if(*mPrintWholeTrace) {
|
||||
if(*mPrivacyMode)
|
||||
ah::dumpBuf(mTxBuf, len, 1, 4);
|
||||
ah::dumpBuf(mTxBuf.data(), len, 1, 4);
|
||||
else
|
||||
ah::dumpBuf(mTxBuf, len);
|
||||
ah::dumpBuf(mTxBuf.data(), len);
|
||||
} else {
|
||||
DHEX(mTxBuf[0]);
|
||||
DBGPRINT(F(" "));
|
||||
|
@ -415,7 +415,7 @@ class HmRadio : public Radio {
|
|||
}
|
||||
mNrf24->setChannel(mRfChLst[mTxChIdx]);
|
||||
mNrf24->openWritingPipe(reinterpret_cast<uint8_t*>(&iv->radioId.u64));
|
||||
mNrf24->startWrite(mTxBuf, len, false); // false = request ACK response
|
||||
mNrf24->startWrite(mTxBuf.data(), len, false); // false = request ACK response
|
||||
mMillis = millis();
|
||||
|
||||
mLastIv = iv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue