Fix type declaration for ambientLightingThread and correct uint32_t usage in PacketHistory
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ const char *getDeviceName()
|
|||||||
uint32_t timeLastPowered = 0;
|
uint32_t timeLastPowered = 0;
|
||||||
|
|
||||||
static OSThread *powerFSMthread;
|
static OSThread *powerFSMthread;
|
||||||
OSThread *ambientLightingThread;
|
AmbientLightingThread *ambientLightingThread;
|
||||||
|
|
||||||
RadioLibHal *RadioLibHAL = NULL;
|
RadioLibHal *RadioLibHAL = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
#include "Throttle.h"
|
#include "Throttle.h"
|
||||||
|
|
||||||
#define PACKETHISTORY_MAX \
|
#define PACKETHISTORY_MAX \
|
||||||
max((u_int32_t)(MAX_NUM_NODES * 2.0), \
|
max((uint32_t)(MAX_NUM_NODES * 2.0), \
|
||||||
(u_int32_t)100) // x2..3 Should suffice. Empirical setup. 16B per record malloc'ed, but no less than 100
|
(uint32_t)100) // x2..3 Should suffice. Empirical setup. 16B per record malloc'ed, but no less than 100
|
||||||
|
|
||||||
#define RECENT_WARN_AGE (10 * 60 * 1000L) // Warn if the packet that gets removed was more recent than 10 min
|
#define RECENT_WARN_AGE (10 * 60 * 1000L) // Warn if the packet that gets removed was more recent than 10 min
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user