File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2119,7 +2119,7 @@ void test_packets()
2119
2119
uint8_t packet_data [TEST_MAX_PACKET_BYTES ];
2120
2120
uint16_t sequence = reliable_endpoint_next_packet_sequence ( context .sender );
2121
2121
int packet_bytes = generate_packet_data ( sequence , packet_data );
2122
- reliable_endpoint_send_packet ( context .sender , packet_data , packet_bytes );
2122
+ reliable_endpoint_send_packet ( context .receiver , packet_data , packet_bytes );
2123
2123
}
2124
2124
2125
2125
reliable_endpoint_update ( context .sender , time );
@@ -2227,15 +2227,13 @@ void test_sequence_buffer_rollover()
2227
2227
{
2228
2228
uint8_t packet_data [16 ];
2229
2229
int packet_bytes = sizeof ( packet_data ) / sizeof ( uint8_t );
2230
- reliable_endpoint_next_packet_sequence ( context .sender );
2231
2230
reliable_endpoint_send_packet ( context .sender , packet_data , packet_bytes );
2232
2231
2233
2232
++ num_packets_sent ;
2234
2233
}
2235
2234
2236
2235
uint8_t packet_data [TEST_MAX_PACKET_BYTES ];
2237
2236
int packet_bytes = sizeof ( packet_data ) / sizeof ( uint8_t );
2238
- reliable_endpoint_next_packet_sequence ( context .sender );
2239
2237
reliable_endpoint_send_packet ( context .sender , packet_data , packet_bytes );
2240
2238
++ num_packets_sent ;
2241
2239
You can’t perform that action at this time.
0 commit comments