Skip to content

Commit

Permalink
Update MyTransportPJON.cpp (#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 Jul 8, 2022
1 parent 97a70a1 commit 8b51ea7
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 8b51ea7

Please sign in to comment.