Skip to content

Commit 96c04b7

Browse files
authored
Merge pull request #4827 from jepler/fix-whitespace-uart
fix formatting
2 parents b0dd0e3 + 6b476c1 commit 96c04b7

File tree

1 file changed

+1
-2
lines changed
  • ports/atmel-samd/common-hal/busio

1 file changed

+1
-2
lines changed

ports/atmel-samd/common-hal/busio/UART.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
156156
self->buffer_length = receiver_buffer_size;
157157
if (NULL != receiver_buffer) {
158158
self->buffer = receiver_buffer;
159-
}
160-
else {
159+
} else {
161160
// Initially allocate the UART's buffer in the long-lived part of the
162161
// heap. UARTs are generally long-lived objects, but the "make long-
163162
// lived" machinery is incapable of moving internal pointers like

0 commit comments

Comments
 (0)