rusefi-1/unit_tests/boards.cpp

29 lines
407 B
C++
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file board.c
*
* @date Nov 15, 2013
2018-01-20 17:42:19 -08:00
* @author Andrey Belomutskiy, (c) 2012-2018
2015-07-10 06:01:56 -07:00
*/
#include "boards.h"
float testMafValue = 0;
float getVoltageDivided(const char *msg, int channel) {
switch(channel) {
case TEST_MAF_CHANNEL:
return testMafValue;
}
return 0;
}
float getVoltage(const char *msg, int channel) {
return 0;
}
int getAdcValue(const char *msg, int channel) {
return 0;
}