update init value

This commit is contained in:
Robin Müller 2021-07-19 14:47:33 +02:00
parent 0b45e5c89a
commit e93230d0ef
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 2 additions and 4 deletions

View File

@ -39,8 +39,7 @@ private:
QueueMapManager();
~QueueMapManager();
// Start at 1 because 0 might be the NO_QUEUE value
uint32_t queueCounter = 1;
uint32_t queueCounter = MessageQueueIF::NO_QUEUE + 1;
MutexIF* mapLock;
QueueMap queueMap;
static QueueMapManager* mqManagerInstance;

View File

@ -41,8 +41,7 @@ private:
QueueMapManager();
~QueueMapManager();
// Start at 1 because 0 might be the NO_QUEUE value
uint32_t queueCounter = 1;
uint32_t queueCounter = MessageQueueIF::NO_QUEUE + 1;
MutexIF* mapLock;
QueueMap queueMap;
static QueueMapManager* mqManagerInstance;