Skip to content

Commit

Permalink
Update MyTransportPJON.cpp (mysensors#1526)
Browse files Browse the repository at this point in the history
Enabling to define different value of PJON_POLLING_DURATION
  • Loading branch information
gryzli133 authored and tekka007 committed Jul 25, 2022
1 parent 501e01f commit b55171c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hal/transport/PJON/MyTransportPJON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b55171c

Please sign in to comment.