Compile Errors #68

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2018-08-15 06:41:10 +09:00
parent 6e865d62f0
commit 42886b70f0
5 changed files with 5 additions and 4 deletions

View File

@@ -443,7 +443,7 @@ TopicIdMapElement* TopicIdMap::add(uint16_t msgId, uint16_t topicId, MQTTSN_topi
{
return 0;
}
if ( getElement(msgId) > 0 )
if ( getElement(msgId) )
{
erase(msgId);
}