Commit 37f6cfaa authored by hu's avatar hu

调整编译条件,修改警告

parent 194cb60d
......@@ -263,7 +263,7 @@ primaryTarget=v800_standalone.tgt
-rh850_4bytewordoffset
-reserve_r2
-DPlatform_32Bit
-Ogeneral
-Onone
.\group\Application.gpj
.\group\Driver.gpj
.\group\Graphic.gpj
......
......@@ -43,35 +43,7 @@ void Data_Service_Gear_Processing(void)
{
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
Description:
......@@ -86,29 +58,6 @@ uint8_t Get_Gear_Mode_Display_Flash(void)
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
{
uint8_t Number ;//档位编号
......
#ifndef __Fuel_Calibration__
#define __Fuel_Calibration__
#include "stdint.h"
#include "TYW_stdint.h"
void Fuel_Set_Filling(uint8_t Filling);
void Fuel_Set_EstimationFlag(uint8_t m_EstimationFlag);
......
......@@ -37,7 +37,6 @@ unsigned long Kwp2000_ComState_Flag;
*********************************************************************
*/
void Kwp2000_CallService(unsigned char Sid_u8);
unsigned char kwp2000_CalcSeriveTabSize(void);
/*-----------------------------------------------------------------------------------*/
const Kwp2000_ServiceTab_Entry_t Kwp2000_ServiceTab[] =
......@@ -71,19 +70,7 @@ void Kwp2000_CallService(unsigned char Sid_u8)
serviceFound = 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)
{
case KWP2000_ECURESET_REQUEST:
......@@ -320,17 +307,4 @@ void Kwp2000_Handle(void)
break;
}
}
}
/*-------------------------------------------------------------------------
* 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));
}
}
\ No newline at end of file
#include "stddef.h"
#include "stdint.h"
#include "TYW_stdint.h"
#include "Emulated_EEPROM_Access.h"
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