mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 23:46:37 +02:00
simplify rxOffset logic
- Code cleanup - fix "nRF CE keep high" code (missing argument)
This commit is contained in:
parent
15349520d2
commit
d15e75dbab
5 changed files with 55 additions and 91 deletions
|
@ -132,7 +132,6 @@ class Inverter {
|
|||
record_t<REC_TYP> recordAlarm; // structure for alarm values
|
||||
InverterStatus status = InverterStatus::OFF; // indicates the current inverter status
|
||||
std::array<alarm_t, 10> lastAlarm; // holds last 10 alarms
|
||||
uint8_t rxOffset = 0; // holds the default channel offset between tx and rx channel (nRF only)
|
||||
int8_t rssi = 0; // RSSI
|
||||
uint16_t alarmCnt = 0; // counts the total number of occurred alarms
|
||||
uint16_t alarmLastId = 0; // lastId which was received
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue