No more CPU hog in Native ANT.

This commit is contained in:
Mark Liversedge
2011-04-18 23:01:19 +01:00
parent ec3c7a2b5a
commit cc5c3115bd

View File

@@ -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