rusefi-1/win32_functional_tests/simulator/boards.h

35 lines
631 B
C

#ifndef BOARDS_FT_H_
#define BOARDS_FT_H_
#define ADC_LOGIC_TPS 0
#define ADC_LOGIC_AFR 0
#define ADC_LOGIC_MAF 0
#define ADC_LOGIC_MAP 0
#define ADC_CHANNEL_VREF 0
#define ADC_CHANNEL_VBATT 0
#define ADC_LOGIC_INTAKE_AIR 0
#define ADC_LOGIC_COOLANT 0
#define CONSOLE_PORT (&SD1)
#define TS_SIMULATOR_PORT (&SD2)
/**
* This implementation writes to both windows console and console port
*/
#define EFI_CONSOLE_UART_DEVICE (&testStream)
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
int getAdcValue(int channel);
void initFakeBoard(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* BOARDS_FT_H_ */