Sped up MTK configuration but the detection time can still be improved: timeouts/usleeps

This commit is contained in:
Julian Oes
2013-02-06 23:25:09 -08:00
parent b620136af4
commit d36eb8a3fc
2 changed files with 22 additions and 15 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ private:
*/
void addByteToChecksum(uint8_t);
mtk_decode_state_t _decode_state;
mtk_decode_state_t _decode_state;
bool _config_sent;
uint8_t _mtk_revision;
uint8_t _rx_buffer[MTK_RECV_BUFFER_SIZE];
unsigned _rx_count;