summarylogtreecommitdiffstats
path: root/console_bridge_dep.patch
blob: 215ae521a43aec221093fb361b9b03acd95b3280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/header.cpp b/src/header.cpp
index b001129..4a25b78 100644
--- a/src/header.cpp
+++ b/src/header.cpp
@@ -79,7 +79,7 @@ bool Header::parse(uint8_t* buffer, uint32_t size, std::string& error_msg)
     if (len > 1000000)
     {
       error_msg = "Received an invalid TCPROS header.  Each element must be prepended by a 4-byte length.";
-      logError("%s", error_msg.c_str());
+      CONSOLE_BRIDGE_logError("%s", error_msg.c_str());
 
       return false;
     }
@@ -93,7 +93,7 @@ bool Header::parse(uint8_t* buffer, uint32_t size, std::string& error_msg)
     if (eqpos == string::npos)
     {
       error_msg = "Received an invalid TCPROS header.  Each line must have an equals sign.";
-      logError("%s", error_msg.c_str());
+      CONSOLE_BRIDGE_logError("%s", error_msg.c_str());
 
       return false;
     }