Skip to content

Commit f2218ba

Browse files
SuGliderCopilot
andauthored
fix(rmt): code identation
Co-authored-by: Copilot <[email protected]>
1 parent 3bb70e7 commit f2218ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cores/esp32/esp32-hal-rmt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,11 @@ bool rmtWriteLooping(int pin, rmt_data_t *data, size_t num_rmt_symbols) {
429429
// Same as rmtWriteLooping(...) but it transmits the data a fixed number of times ("loop_count").
430430
// loop_count == 0 is invalid (no transmission); loop_count >= 1 means transmit that many times.
431431
bool rmtWriteLoopingCount(int pin, rmt_data_t *data, size_t num_rmt_symbols, uint32_t loop_count) {
432-
if (loop_count == 0) {
433-
log_w("rmtWriteLoopingCount: Invalid loop_count (%u). Must be at least 1.", loop_count);
432+
if (loop_count == 0) {
433+
log_w("rmtWriteLoopingCount: Invalid loop_count (%u). Must be at least 1.", loop_count);
434434
return false;
435435
}
436-
if (loop_count == 1) {
436+
if (loop_count == 1) {
437437
// send the RMT symbols once using non blocking write, like "looping" it a single time
438438
return rmtWriteAsync(int pin, rmt_data_t *data, size_t num_rmt_symbols);
439439
} else {

0 commit comments

Comments
 (0)