Browse Source

* fix missing declarations for HM400

pull/8/head
lumapu 3 years ago
parent
commit
f9878b8d8b
  1. 4
      tools/esp8266/hmSystem.h

4
tools/esp8266/hmSystem.h

@ -145,6 +145,10 @@ class HmSystem {
p->listLen = (uint8_t)(HM1200_LIST_LEN); p->listLen = (uint8_t)(HM1200_LIST_LEN);
p->assign = (byteAssign_t*)hm1200assignment; p->assign = (byteAssign_t*)hm1200assignment;
} }
else if(INV_TYPE_HM400 == p->type) {
p->listLen = (uint8_t)(HM400_LIST_LEN);
p->assign = (byteAssign_t*)hm400assignment;
}
else { else {
p->listLen = 0; p->listLen = 0;
p->assign = NULL; p->assign = NULL;

Loading…
Cancel
Save