# HG changeset patch # User David Douard # Date 1633633513 -7200 # Node ID e19b4147caa95255568a6357c98cb8bda97fe236 # Parent 48f29a1d43d65fa70638bf109b37fc9261100ac4 Reduce the sleep time of the send_pending_key thread to 1ms to get a chance of sending a keycode when the CPU flood the FP with DSP messages (e.g. after the last 'Last-N' value). diff -r 48f29a1d43d6 -r e19b4147caa9 src/hp34comm.cpp --- a/src/hp34comm.cpp Mon Oct 04 21:15:35 2021 +0200 +++ b/src/hp34comm.cpp Thu Oct 07 21:05:13 2021 +0200 @@ -91,7 +91,7 @@ } } //else // prevent from flooding the main unit - ThisThread::sleep_for(5ms); + ThisThread::sleep_for(1ms); } }