summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDaniël van de Giessen <daniel@dvdgiessen.nl>2023-08-25 15:17:04 +0200
committerDamien George <damien@micropython.org>2023-10-31 12:10:36 +1100
commita1d20e0747b4e140786d0a0fcdb6f7808714ed68 (patch)
treed0d40eeedf91bb25a3fe14a033f33a404a2684e1 /py
parentf1d6af9819d2fd3d70c5d09005c0b460888f8301 (diff)
esp32/network_ppp: Reduce PPP thread CPU usage.
Reduces the CPU usage by the PPP thread by sleeping for one tick if there was nothing to read; preventing the loop using 100% CPU when the read operation has a zero timeout and immediately returns. Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions