mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-02 10:41:40 +02:00
MI-MQTT and last retransmit
- fix MI not sending data over MQTT (discord1196092306
) - change logic for last retransmit (discord1196098984
)
This commit is contained in:
parent
f4a82242df
commit
e44e722315
2 changed files with 22 additions and 15 deletions
|
@ -12,9 +12,9 @@
|
|||
#include "../utils/dbg.h"
|
||||
|
||||
// needs a '+1' because the comparison does not send if attempts is equal 0
|
||||
#define DEFAULT_ATTEMPS 5 + 1
|
||||
#define MORE_ATTEMPS_ALARMDATA 15 + 1
|
||||
#define MORE_ATTEMPS_GRIDONPROFILEPARA 15 + 1
|
||||
#define DEFAULT_ATTEMPS 5
|
||||
#define MORE_ATTEMPS_ALARMDATA 15
|
||||
#define MORE_ATTEMPS_GRIDONPROFILEPARA 15
|
||||
|
||||
template <uint8_t N=100>
|
||||
class CommQueue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue