Browse Source

Merge 730e55e6c6 into c4fe30f118

pull/1908/merge
PaTiTan 1 week ago
committed by GitHub
parent
commit
0b97a60bb0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/hm/hmDefines.h
  2. 1
      src/hm/hmSystem.h

2
src/hm/hmDefines.h

@ -119,7 +119,7 @@ enum {INV_RADIO_TYPE_UNKNOWN = 0, INV_RADIO_TYPE_NRF, INV_RADIO_TYPE_CMT};
#define DURATION_TXFRAME 85 // timeout parameter for first transmission and first expected frame (time to first channel switch from tx start!) (ms)
#define DURATION_LISTEN_MIN 5 // time to stay at least on a listening channel (ms)
#define DURATION_PAUSE_LASTFR 45 // how long to pause after last frame (ms)
const uint8_t duration_reserve[2] = {65, 115};
const uint8_t duration_reserve[3] = {65, 65, 115}; // index = INV_RADIO_TYPE_(UNKNOWN, NRF, CMT)
#define LIMIT_FAST_IV 85 // time limit to qualify an inverter as very fast answering inverter
#define LIMIT_VERYFAST_IV 70 // time limit to qualify an inverter as very fast answering inverter

1
src/hm/hmSystem.h

@ -78,6 +78,7 @@ class HmSystem {
iv->ivRadioType = INV_RADIO_TYPE_CMT;
} else if(iv->config->serial.b[5] == 0x14) {
iv->ivGen = IV_HMS;
iv->ivRadioType = INV_RADIO_TYPE_CMT;
if(iv->config->serial.b[4] == 0x10)
iv->type = INV_TYPE_2CH;
} else if(iv->config->serial.u64 != 0ULL) {

Loading…
Cancel
Save