diff --git a/extras/test/src/test_advertising_data/test_advertising_data.cpp b/extras/test/src/test_advertising_data/test_advertising_data.cpp index 67fa1d25..005ab51d 100644 --- a/extras/test/src/test_advertising_data/test_advertising_data.cpp +++ b/extras/test/src/test_advertising_data/test_advertising_data.cpp @@ -142,7 +142,7 @@ TEST_CASE("BLE test raw data", "[ArduinoBLE::BLEAdvertisingData]") uint8_t data[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }; - advData.setRawData(data, sizeof(data)); + retVal = advData.setRawData(data, sizeof(data)); REQUIRE(!retVal); advData.clear(); }