Skip to content

Commit

Permalink
processReceivedData now returns the number of signals it has decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
obones authored and cpainchaud committed May 31, 2023
1 parent b643ced commit fdfcc04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion RFLink/14_rtl_433Bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ namespace RFLink
}
}

void processReceivedData()
int processReceivedData()
{
//Serial.println("rtl_433 trying to process messages");
/*for (int deviceIndex = 0; deviceIndex < num_r_devices; deviceIndex++)
Expand Down Expand Up @@ -261,6 +261,8 @@ namespace RFLink

//Serial.printf("stack free: %d", uxTaskGetStackHighWaterMark(NULL));
//Serial.println();

return decodedCount;
}
}
}
2 changes: 1 addition & 1 deletion RFLink/14_rtl_433Bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace RFLink
namespace rtl_433Bridge
{
void register_all_protocols(unsigned disabled);
void processReceivedData();
int processReceivedData();
}
}
#endif

0 comments on commit fdfcc04

Please # to comment.