Skip to content

Commit

Permalink
Merge pull request #2036 from xodio/fix-tethering-inet
Browse files Browse the repository at this point in the history
Fix tethering inet
  • Loading branch information
evgenykochetkov authored Sep 15, 2020
2 parents c2a7168 + 743365e commit 0d3b264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/xod-arduino/platform/program.tpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Node_{{ id }} node_{{ id }} = Node_{{ id }}(
namespace detail {
void handleDebugProtocolMessages() {
{{#withTetheringInetNode nodes}}
bool tetheringInetNodeReceivingData = xod__debug__tethering_inet::TetheringInternet::isReceiving();
bool tetheringInetNodeReceivingData = xod::tethering_inet::TetheringInternet::isReceiving();
{{/withTetheringInetNode}}
bool rewindToEol = true;

Expand All @@ -104,7 +104,7 @@ void handleDebugProtocolMessages() {
switch (tweakedNodeId) {
{{#withTetheringInetNode nodes}}
case {{ id }}:
xod__debug__tethering_inet::TetheringInternet::beginReceiving(XOD_DEBUG_SERIAL.parseInt());
xod::tethering_inet::TetheringInternet::beginReceiving(XOD_DEBUG_SERIAL.parseInt());
rewindToEol = false;
XOD_DEBUG_SERIAL.read(); // :
// The rest of data should be read by nodes
Expand Down
2 changes: 1 addition & 1 deletion workspace/__lib__/xod/debug/get-local-ip/patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ node {
return;

auto inet = getValue<input_INET>(ctx);
ValueType<output_IP>::T ip = inet->getIP();
typeof_IP ip = inet->getIP();
if (ip == 0) {
raiseError(ctx);
return;
Expand Down

0 comments on commit 0d3b264

Please sign in to comment.