Skip to content

Commit dde4a40

Browse files
authored
fix whitespaces
1 parent 85db016 commit dde4a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/espressif/common-hal/pulseio/PulseIn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t *self, const mcu
115115
};
116116
// If we fail here, the self->buffer will be garbage collected.
117117
esp_err_t result = rmt_new_rx_channel(&config, &self->channel);
118-
if (result != ESP_OK){
118+
if (result != ESP_OK) {
119119
heap_caps_free(self->raw_symbols);
120120
raise_esp_error(result);
121121
}
@@ -126,7 +126,7 @@ void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t *self, const mcu
126126
rmt_rx_register_event_callbacks(self->channel, &rx_callback, self);
127127
rmt_enable(self->channel);
128128
result = rmt_receive(self->channel, self->raw_symbols, self->raw_symbols_size, &rx_config);
129-
if (result != ESP_OK){
129+
if (result != ESP_OK) {
130130
heap_caps_free(self->raw_symbols);
131131
raise_esp_error(result);
132132
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy