mirror of
https://github.com/luc-github/ESP3DLib.git
synced 2026-03-12 02:46:54 +01:00
Remove custom ESP32 analogWrite to use new added one
Use new ESP32 ADC channel definition for tone add new WDT function for ESP32 comment DISABLE_WDT_CORE_0 for the moment
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
#include "core/esp3d.h"
|
||||
#include "core/esp3doutput.h"
|
||||
#include "core/commands.h"
|
||||
#include <soc/rtc_wdt.h>
|
||||
|
||||
|
||||
Esp3DLib esp3dlib;
|
||||
|
||||
@@ -41,6 +43,7 @@ void ESP3DLibTaskfn( void * parameter )
|
||||
//Main loop
|
||||
for(;;) {
|
||||
myesp3d.handle();
|
||||
rtc_wdt_feed();
|
||||
vTaskDelay(1 / portTICK_RATE_MS);
|
||||
}
|
||||
vTaskDelete( Hal::xHandle );
|
||||
|
||||
Reference in New Issue
Block a user