File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ports/nrf/common-hal/_bleio Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -401,8 +401,8 @@ mp_int_t common_hal_bleio_packet_buffer_get_outgoing_packet_length(bleio_packet_
401
401
bleio_connection_internal_t * connection = bleio_conn_handle_to_connection (self -> conn_handle );
402
402
if (connection ) {
403
403
return MIN (MIN (common_hal_bleio_connection_get_max_packet_length (connection ),
404
- self -> max_packet_size ),
405
- self -> characteristic -> max_length );
404
+ self -> max_packet_size ),
405
+ self -> characteristic -> max_length );
406
406
}
407
407
}
408
408
// There's no current connection, so we don't know the MTU, and
@@ -418,7 +418,7 @@ mp_int_t common_hal_bleio_packet_buffer_get_outgoing_packet_length(bleio_packet_
418
418
bleio_connection_internal_t * connection = bleio_conn_handle_to_connection (self -> conn_handle );
419
419
if (connection ) {
420
420
return MIN (common_hal_bleio_connection_get_max_packet_length (connection ),
421
- self -> max_packet_size );
421
+ self -> max_packet_size );
422
422
}
423
423
}
424
424
}
You can’t perform that action at this time.
0 commit comments