V2.05
重写延时等待函数,解决与模块之间通信间隔有可能过短的问题 修改硬件版本号时自动修改can波特率
This commit is contained in:
@@ -31,12 +31,16 @@ volatile uint16_t JQ_EnFreeBack_Test = 0;
|
||||
static void JQ_CommBegin()
|
||||
{
|
||||
CurrentSampleR_Def;
|
||||
WaitDelayEnd(200);//20ms
|
||||
//WaitDelayEnd(200);//20ms
|
||||
//delay_ms(20);
|
||||
delay_wait_untill_ms(20);
|
||||
}
|
||||
static void JQ_CommEnd()
|
||||
{
|
||||
uint16_t us_temp;
|
||||
StartDelayTime();
|
||||
//StartDelayTime();
|
||||
TimerCount_Off();
|
||||
delay_wait_start();
|
||||
if(JQ_CommEnd_CurEn > 0)
|
||||
{
|
||||
delay_os_ms(10);
|
||||
|
Reference in New Issue
Block a user