rusefi/unit_tests/boards.c

29 lines
356 B
C

/**
* @file board.c
*
* @date Nov 15, 2013
* @author Andrey Belomutskiy, (c) 2012-2013
*/
#include "boards.h"
float testMafValue = 0;
float getVoltageDivided(int channel) {
switch(channel) {
case TEST_MAF_CHANNEL:
return testMafValue;
}
return 0;
}
float getVoltage(int channel) {
return 0;
}
int getAdcValue(int channel) {
return 0;
}