From 8b51ea798e8c153168efcac2cfc76252b1f3d799 Mon Sep 17 00:00:00 2001 From: gryzli133 <30415928+gryzli133@users.noreply.github.com> Date: Fri, 8 Jul 2022 10:22:54 +0200 Subject: [PATCH] Update MyTransportPJON.cpp (#1526) Enabling to define different value of PJON_POLLING_DURATION --- hal/transport/PJON/MyTransportPJON.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hal/transport/PJON/MyTransportPJON.cpp b/hal/transport/PJON/MyTransportPJON.cpp index 0a0e5e2c7..52dc59582 100644 --- a/hal/transport/PJON/MyTransportPJON.cpp +++ b/hal/transport/PJON/MyTransportPJON.cpp @@ -22,7 +22,10 @@ */ // Set a higher polling duration if the device is executing long tasks + +#ifndef PJON_POLLING_DURATION #define PJON_POLLING_DURATION 1000 +#endif PJONSoftwareBitBang bus;