Commit 89fdbc82 authored by chenhaowen's avatar chenhaowen

fix confict

parent 3d810c0a
......@@ -585,6 +585,7 @@ void gen_ka2_checksum(uint8_t *data, int len, uint8_t *checksum)
}
static void short_wait_sleep(int second){
for(int i = second; i > 0 && !drcom_config.exit; i--)
int i;
for(i = second; i > 0 && !drcom_config.exit; i--)
sleep(1);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment