Skip to content

Commit

Permalink
Add Support for ESP32-C3 e S3 (#124)
Browse files Browse the repository at this point in the history
* Add Support for ESP32-C3 e S3

* Update rtl_433_ESP.cpp

---------

Co-authored-by: Northern Man <19808920+NorthernMan54@users.noreply.github.com>
  • Loading branch information
dianlight and NorthernMan54 authored Dec 17, 2023
1 parent 4e62677 commit 13171ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rtl_433_ESP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
#if defined(RF_MODULE_SCK) && defined(RF_MODULE_MISO) && \
defined(RF_MODULE_MOSI) && defined(RF_MODULE_CS)
# include <SPI.h>
# if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3
SPIClass newSPI(FSPI);
# else
SPIClass newSPI(VSPI);
# endif
#endif

#ifdef RF_SX1276
Expand Down

0 comments on commit 13171ea

Please sign in to comment.