mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration.
This commit is contained in:
@@ -242,7 +242,7 @@ void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) {
|
||||
|
||||
bool usbd_cdc_rx_buffer_full(usbd_cdc_itf_t *cdc) {
|
||||
int get = cdc->rx_buf_get, put = cdc->rx_buf_put;
|
||||
int remaining = (get - put) + (-((int) (get <= put)) & USBD_CDC_RX_DATA_SIZE);
|
||||
int remaining = (get - put) + (-((int)(get <= put)) & USBD_CDC_RX_DATA_SIZE);
|
||||
return remaining < CDC_DATA_MAX_PACKET_SIZE + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user