ETB target is using integer values #945
refactoring - ADC mocking is a mess
This commit is contained in:
parent
e1b537935d
commit
1ff2a320ab
|
@ -20,7 +20,6 @@
|
|||
|
||||
float getVoltage(const char *msg, adc_channel_e channel DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
// DECLARE_ENGINE_PARAMETER_SUFFIX
|
||||
float getVoltageDivided(const char *msg, adc_channel_e channel);
|
||||
float getVoltageDivided(const char *msg, adc_channel_e channel DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
#endif /* ADC_MATH_H_ */
|
||||
|
|
|
@ -9,11 +9,10 @@
|
|||
#define BOARDS_H_
|
||||
|
||||
#include "engine_configuration.h"
|
||||
#include "adc_math.h"
|
||||
|
||||
#define ADC_CHANNEL_VREF 0
|
||||
|
||||
float getVoltageDivided(const char *msg, adc_channel_e channel DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
float getVoltage(const char *msg, adc_channel_e channel DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
int getAdcValue(const char *msg, adc_channel_e channel);
|
||||
|
||||
#endif /* BOARDS_H_ */
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#define SPARK_EXTREME_LOGGING TRUE
|
||||
|
||||
#define EFI_ENABLE_MOCK_ADC FALSE
|
||||
#define EFI_ENABLE_MOCK_ADC TRUE
|
||||
|
||||
#define EFI_ENABLE_CRITICAL_ENGINE_STOP TRUE
|
||||
#define EFI_ENABLE_ENGINE_WARNING TRUE
|
||||
|
|
Loading…
Reference in New Issue