diff --git a/RFLink/14_rtl_433Bridge.cpp b/RFLink/14_rtl_433Bridge.cpp index e8b29f6..c0871e1 100644 --- a/RFLink/14_rtl_433Bridge.cpp +++ b/RFLink/14_rtl_433Bridge.cpp @@ -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++) @@ -261,6 +261,8 @@ namespace RFLink //Serial.printf("stack free: %d", uxTaskGetStackHighWaterMark(NULL)); //Serial.println(); + + return decodedCount; } } } diff --git a/RFLink/14_rtl_433Bridge.h b/RFLink/14_rtl_433Bridge.h index 22663c5..eeff9ae 100644 --- a/RFLink/14_rtl_433Bridge.h +++ b/RFLink/14_rtl_433Bridge.h @@ -16,7 +16,7 @@ namespace RFLink namespace rtl_433Bridge { void register_all_protocols(unsigned disabled); - void processReceivedData(); + int processReceivedData(); } } #endif \ No newline at end of file