Commit f0dbf732 authored by 郑萍's avatar 郑萍

🐞 fix:发零不休眠,且刀盘指示灯157故障发无效值不显示

parent 61abed1e
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
</OCR_RVCT3> </OCR_RVCT3>
<OCR_RVCT4> <OCR_RVCT4>
<Type>1</Type> <Type>1</Type>
<StartAddress>0x8000</StartAddress> <StartAddress>0x0</StartAddress>
<Size>0x40000</Size> <Size>0x40000</Size>
</OCR_RVCT4> </OCR_RVCT4>
<OCR_RVCT5> <OCR_RVCT5>
......
...@@ -16,7 +16,7 @@ User definitions ...@@ -16,7 +16,7 @@ User definitions
***********************************************************************************************************************/ ***********************************************************************************************************************/
#ifndef __TYPEDEF__ #ifndef __TYPEDEF__
#define HAS_BOOTLOADER (1u) // 仅仿真App时设置为0 #define HAS_BOOTLOADER (0u) // 仅仿真App时设置为0
#define APP_BASE (0x00008000ul) #define APP_BASE (0x00008000ul)
typedef unsigned short MD_STATUS; typedef unsigned short MD_STATUS;
......
...@@ -81,6 +81,10 @@ void Gauge_Cutterhead_Gear_Display(void) ...@@ -81,6 +81,10 @@ void Gauge_Cutterhead_Gear_Display(void)
{ {
SEG_SET_Cutterhead(1, Signal1, 0); SEG_SET_Cutterhead(1, Signal1, 0);
} }
else
{
SEG_SET_Cutterhead(0, Signal1, 0);
}
} }
else else
{ {
......
...@@ -169,10 +169,10 @@ static Power_Status_em Power_Stay_OFF(void) ...@@ -169,10 +169,10 @@ static Power_Status_em Power_Stay_OFF(void)
{ {
u8PowerSts = EM_IGN_OFF; u8PowerSts = EM_IGN_OFF;
} }
else // else
{ // {
u8PowerSts = EM_IGN_Sleep_Init; // u8PowerSts = EM_IGN_Sleep_Init;
} // }
} }
return u8PowerSts; return u8PowerSts;
......
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