Commit 37f6cfaa authored by hu's avatar hu

调整编译条件,修改警告

parent 194cb60d
...@@ -263,7 +263,7 @@ primaryTarget=v800_standalone.tgt ...@@ -263,7 +263,7 @@ primaryTarget=v800_standalone.tgt
-rh850_4bytewordoffset -rh850_4bytewordoffset
-reserve_r2 -reserve_r2
-DPlatform_32Bit -DPlatform_32Bit
-Ogeneral -Onone
.\group\Application.gpj .\group\Application.gpj
.\group\Driver.gpj .\group\Driver.gpj
.\group\Graphic.gpj .\group\Graphic.gpj
......
...@@ -43,35 +43,7 @@ void Data_Service_Gear_Processing(void) ...@@ -43,35 +43,7 @@ void Data_Service_Gear_Processing(void)
{ {
Gear_Processing_Service(); Gear_Processing_Service();
} }
/******************************************************************************
Function:Get_Gear_Mode_Type
Description:Get Gear P/R/N/D/M/S
Input:
Output: P/R/N/D/M/S
******************************************************************************/
uint8_t Get_Gear_Mode_Type(void)
{
}
/******************************************************************************
Get_Gear_Mode_UPDOWN_Number
Description:Get Gear 1/2/3/4/...
Input:
Output: 1/2/3/4/...
******************************************************************************/
uint8_t Get_Gear_Mode_UPDOWN_Number(void)
{
}
/******************************************************************************
Function:Get_Gear_Mode_Up_Down
Description:Get Gear UP/DOWN
Input:
Output: UP/DOWN
******************************************************************************/
uint8_t Get_Gear_Mode_Up_Down(void)
{
}
/****************************************************************************** /******************************************************************************
Function:Gear_Mode_Display Function:Gear_Mode_Display
Description: Description:
...@@ -86,29 +58,6 @@ uint8_t Get_Gear_Mode_Display_Flash(void) ...@@ -86,29 +58,6 @@ uint8_t Get_Gear_Mode_Display_Flash(void)
return (uint8_t)Gear_Status ; return (uint8_t)Gear_Status ;
} }
uint8_t Get_Gear_Mode_M_A_Display(void)
{
}
uint8_t Get_Gear_Mode_P_E_Display(void)
{
}
uint8_t Get_Gear_Mode_L_C_Display(void)
{
}
//-------------------------------------------
//档位 数据处理
//-------------------------------------------
//区域7显示逻辑
//-------------------------------------------
//344 - 3.2.档位显示
//-------------------------------------------
static struct static struct
{ {
uint8_t Number ;//档位编号 uint8_t Number ;//档位编号
......
#ifndef __Fuel_Calibration__ #ifndef __Fuel_Calibration__
#define __Fuel_Calibration__ #define __Fuel_Calibration__
#include "stdint.h" #include "TYW_stdint.h"
void Fuel_Set_Filling(uint8_t Filling); void Fuel_Set_Filling(uint8_t Filling);
void Fuel_Set_EstimationFlag(uint8_t m_EstimationFlag); void Fuel_Set_EstimationFlag(uint8_t m_EstimationFlag);
......
...@@ -37,7 +37,6 @@ unsigned long Kwp2000_ComState_Flag; ...@@ -37,7 +37,6 @@ unsigned long Kwp2000_ComState_Flag;
********************************************************************* *********************************************************************
*/ */
void Kwp2000_CallService(unsigned char Sid_u8); void Kwp2000_CallService(unsigned char Sid_u8);
unsigned char kwp2000_CalcSeriveTabSize(void);
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
const Kwp2000_ServiceTab_Entry_t Kwp2000_ServiceTab[] = const Kwp2000_ServiceTab_Entry_t Kwp2000_ServiceTab[] =
...@@ -71,19 +70,7 @@ void Kwp2000_CallService(unsigned char Sid_u8) ...@@ -71,19 +70,7 @@ void Kwp2000_CallService(unsigned char Sid_u8)
serviceFound = 0; serviceFound = 0;
Kwp2000_Negative.ResponseCode = 0; Kwp2000_Negative.ResponseCode = 0;
#if 0
for (index = 0; index < kwp2000_CalcSeriveTabSize(); index++)
{
if (Kwp2000_ServiceTab[index].sId == Sid_u8)
{
serviceFound = 1;
Kwp2000_ComState.Tx_len = Kwp2000_ServiceTab[index].Kwp2000_Servie((unsigned char *)&Kwp2000_ComState.TxBuffer[4],
(unsigned char *)&Kwp2000_ComState.Request_Datas[1]);
break;
}
}
#endif
switch (Sid_u8) switch (Sid_u8)
{ {
case KWP2000_ECURESET_REQUEST: case KWP2000_ECURESET_REQUEST:
...@@ -321,16 +308,3 @@ void Kwp2000_Handle(void) ...@@ -321,16 +308,3 @@ void Kwp2000_Handle(void)
} }
} }
} }
\ No newline at end of file
/*-------------------------------------------------------------------------
* Function Name : kwp2000_CalcSeriveTabSize
* Description : kwp2000 Calculate Serive Table Size
* Input :
* Output : None
* Return : None
* onther :
--------------------------------------------------------------------------*/
unsigned char kwp2000_CalcSeriveTabSize(void)
{
//return (unsigned char)(sizeof(Kwp2000_ServiceTab) / sizeof(Kwp2000_ServiceTab_Entry_t));
}
#include "stddef.h" #include "stddef.h"
#include "stdint.h" #include "TYW_stdint.h"
#include "Emulated_EEPROM_Access.h" #include "Emulated_EEPROM_Access.h"
typedef union typedef union
......
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