mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
No more CPU hog in Native ANT.
This commit is contained in:
@@ -183,7 +183,7 @@ void ANT::run()
|
||||
// read more bytes from the device
|
||||
uint8_t byte;
|
||||
if (rawRead(&byte, 1) > 0) receiveByte((unsigned char)byte);
|
||||
//else msleep(5);
|
||||
else msleep(1);
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// LISTEN TO CONTROLLER FOR COMMANDS
|
||||
|
||||
Reference in New Issue
Block a user