Skip to content

Commit b55171c

Browse files
gryzli133tekka007
authored andcommitted
Update MyTransportPJON.cpp (mysensors#1526)
Enabling to define different value of PJON_POLLING_DURATION
1 parent 501e01f commit b55171c

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)