Move ESP-IDF HAL back to examples (#1322)

pull/1343/head
jgromes 2024-11-30 21:53:48 +01:00
rodzic 5d6ca6251f
commit a692b72347
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
// this example only works on ESP32 and is unlikely to work on ESP32S2/S3 etc.
// if you need high portability, you should probably use Arduino anyway ...
#if CONFIG_IDF_TARGET_ESP32 == 0
#error Target is not ESP32!
#error This example HAL only supports ESP32 targets. Support for ESP32S2/S3 etc. can be added by adjusting this file to user needs.
#endif
// include all the dependencies

Wyświetl plik

@ -17,7 +17,7 @@
#include <RadioLib.h>
// include the hardware abstraction layer
#include "hal/ESP-IDF/EspHal.h"
#include "EspHal.h"
// create a new instance of the HAL class
EspHal* hal = new EspHal(5, 19, 27);