Skip to content

Commit

Permalink
Fix leftover SUPPORT_ESP32C3_RMT
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 authored Aug 20, 2024
1 parent 0f546a3 commit 8841e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StepperISR_esp32c3_rmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// - minimum periods as per relation 1 and 2 to be adhered to
//
//
#ifdef SUPPORT_ESP32C3_RMT
#ifdef HAVE_ESP32C3_RMT
#define PART_SIZE 23
#define RMT_MEM_SIZE 48
#else
Expand Down Expand Up @@ -230,7 +230,7 @@ static void IRAM_ATTR apply_command(StepperQueue *q, bool fill_part_one,
}
}

#if !defined(RMT_CHANNEL_MEM) && !defined(SUPPORT_ESP32C3_RMT)
#if !defined(RMT_CHANNEL_MEM) && !defined(HAVE_ESP32C3_RMT)
#define RMT_LIMIT tx_lim
#define RMT_FIFO apb_fifo_mask
#else
Expand Down

0 comments on commit 8841e62

Please sign in to comment.