Commit 2f2ae5f4 authored by 李冠华's avatar 李冠华

🐞 fix:增加防止引脚还未拉低就执行接收功能的策略

parent 6c0b8c71
...@@ -160,8 +160,11 @@ void Sys_Run_Mode_20ms_Tasks_Group0(void) ...@@ -160,8 +160,11 @@ void Sys_Run_Mode_20ms_Tasks_Group0(void)
{ {
LINE_OUT_NEG_09 = 0; LINE_OUT_NEG_09 = 0;
// Recv_Byte(); // Recv_Byte();
if (LINE_OUT_NEG_09 == 0U)
{
RS485_Protocol_Service(); RS485_Protocol_Service();
} }
}
if (errNum == 0) if (errNum == 0)
{ {
......
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