stop explicitly using Serial.print for debug messages
This commit is contained in:
1 parent
4a40b9499b
commit
b04fb061c4
13 files changed
+103
-101
No files matched your search
+2
-1
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <pb_encode.h>
|
||||
#include <pb_decode.h>
|
||||
#include "configuration.h"
|
||||
#include "mesh-pb-constants.h"
|
||||
#include "NodeDB.h"
|
||||
|
||||
@@ -50,7 +51,7 @@ void NodeDB::updateFrom(const MeshPacket &mp)
|
||||
if (mp.has_payload)
|
||||
{
|
||||
const SubPacket &p = mp.payload;
|
||||
Serial.printf("Update DB node %x for %d\n", mp.from, p.which_variant);
|
||||
DEBUG_MSG("Update DB node %x for %d\n", mp.from, p.which_variant);
|
||||
if (p.which_variant != SubPacket_want_node_tag) // we don't create nodeinfo records for someone that is just trying to claim a nodenum
|
||||
{
|
||||
int oldNumNodes = numNodes;
|
||||
|
||||
Reference in new issue
Block a user