8000 fix whitespaces · cezer-io/circuitpython@dde4a40 · GitHub
[go: up one dir, main page]

Skip to content
< 8000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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< 759E span class=pl-c1>->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)
0