Skip to content

Commit 8841e62

Browse files
authored
Fix leftover SUPPORT_ESP32C3_RMT
1 parent 0f546a3 commit 8841e62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/StepperISR_esp32c3_rmt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// - minimum periods as per relation 1 and 2 to be adhered to
2727
//
2828
//
29-
#ifdef SUPPORT_ESP32C3_RMT
29+
#ifdef HAVE_ESP32C3_RMT
3030
#define PART_SIZE 23
3131
#define RMT_MEM_SIZE 48
3232
#else
@@ -230,7 +230,7 @@ static void IRAM_ATTR apply_command(StepperQueue *q, bool fill_part_one,
230230
}
231231
}
232232

233-
#if !defined(RMT_CHANNEL_MEM) && !defined(SUPPORT_ESP32C3_RMT)
233+
#if !defined(RMT_CHANNEL_MEM) && !defined(HAVE_ESP32C3_RMT)
234234
#define RMT_LIMIT tx_lim
235235
#define RMT_FIFO apb_fifo_mask
236236
#else

0 commit comments

Comments
 (0)