Skip to content

Commit 55b8244

Browse files
SuGliderCopilot
andauthored
fix(rmt): bad copy & paste of function signature
Co-authored-by: Copilot <[email protected]>
1 parent f2218ba commit 55b8244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-rmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ bool rmtWriteLoopingCount(int pin, rmt_data_t *data, size_t num_rmt_symbols, uin
435435
}
436436
if (loop_count == 1) {
437437
// send the RMT symbols once using non blocking write, like "looping" it a single time
438-
return rmtWriteAsync(int pin, rmt_data_t *data, size_t num_rmt_symbols);
438+
return rmtWriteAsync(pin, data, num_rmt_symbols);
439439
} else {
440440
// write the RMT symbols for loop_count times
441441
return _rmtWrite(pin, data, num_rmt_symbols, false /*blocks*/, loop_count /*looping*/, 0 /*N/A*/);

0 commit comments

Comments
 (0)