mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-29 07:47:03 +02:00
* added RX channel 40
* improved RF24 ISR * reduced AP active time to 60s (will be increase once a client is connected) * added `yield` without success -> random reboot (cause 4)
This commit is contained in:
parent
247ae3e1db
commit
c7d039ac8c
7 changed files with 53 additions and 33 deletions
|
@ -36,8 +36,8 @@ class HmSystem {
|
|||
p->id = mNumInv;
|
||||
p->serial.u64 = serial;
|
||||
memcpy(p->chMaxPwr, chMaxPwr, (4*2));
|
||||
DPRINT("SERIAL: " + String(p->serial.b[5], HEX));
|
||||
DPRINTLN(" " + String(p->serial.b[4], HEX));
|
||||
//DPRINT("SERIAL: " + String(p->serial.b[5], HEX));
|
||||
//DPRINTLN(" " + String(p->serial.b[4], HEX));
|
||||
if(p->serial.b[5] == 0x11) {
|
||||
switch(p->serial.b[4]) {
|
||||
case 0x21: p->type = INV_TYPE_1CH; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue