Skip to content

Commit e772c64

Browse files
committed
fix: remove test for performance
1 parent 409d96b commit e772c64

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/z_perf_tx.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ int send_packets(unsigned long pkt_len, z_owned_publisher_t *pub, uint8_t *value
2626
z_clock_t test_start = z_clock_now();
2727
unsigned long elapsed_us = 0;
2828
while (elapsed_us < TEST_DURATION_US) {
29-
if (z_publisher_put(z_loan(*pub), (const uint8_t *)value, pkt_len, NULL) != 0) {
30-
printf("Put failed for pkt len: %lu\n", pkt_len);
31-
return -1;
32-
}
29+
z_publisher_put(z_loan(*pub), (const uint8_t *)value, pkt_len, NULL);
3330
elapsed_us = z_clock_elapsed_us(&test_start);
3431
}
3532
return 0;

0 commit comments

Comments
 (0)