Skip to content

Commit 8b51ea7

Browse files
authored
Update MyTransportPJON.cpp (#1526)
Enabling to define different value of PJON_POLLING_DURATION
1 parent 97a70a1 commit 8b51ea7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hal/transport/PJON/MyTransportPJON.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
*/
2323

2424
// Set a higher polling duration if the device is executing long tasks
25+
26+
#ifndef PJON_POLLING_DURATION
2527
#define PJON_POLLING_DURATION 1000
28+
#endif
2629

2730
PJONSoftwareBitBang bus;
2831

0 commit comments

Comments
 (0)