Skip to content

Commit 17ff204

Browse files
committed
fix #1941
1 parent 2f433b5 commit 17ff204

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

targets/esp32/jshardware.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,13 +412,17 @@ void jshSetOutputValue(JshPinFunction func, int value) {
412412
*/
413413
void jshEnableWatchDog(JsVarFloat timeout) {
414414
UNUSED(timeout);
415+
#ifdef DEBUG
415416
jsError(">> jshEnableWatchDog Not implemented,using taskwatchdog from RTOS");
417+
#endif
416418
}
417419

418420

419421
// Kick the watchdog
420422
void jshKickWatchDog() {
423+
#ifdef DEBUG
421424
jsError(">> jshKickWatchDog Not implemented,using taskwatchdog from RTOS");
425+
#endif
422426
}
423427

424428

0 commit comments

Comments
 (0)