Clean-up analog channels in "unit" tests fix #1456
This commit is contained in:
parent
bb6cd1326c
commit
19a8500a43
|
@ -77,10 +77,6 @@ case EFI_ADC_ERROR:
|
|||
return "EFI_ADC_ERROR";
|
||||
case EFI_ADC_NONE:
|
||||
return "EFI_ADC_NONE";
|
||||
#if EFI_UNIT_TEST
|
||||
case TEST_MAF_CHANNEL:
|
||||
return "EFI_TEST";
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -266,13 +266,6 @@ typedef enum __attribute__ ((__packed__)) {
|
|||
// todo: bad choice of value since now we have ADC_CHANNEL_SENSOR and could end up with 17 and 18 also
|
||||
EFI_ADC_NONE = 16,
|
||||
EFI_ADC_ERROR = 17,
|
||||
#if EFI_UNIT_TEST
|
||||
/**
|
||||
* these values are unfortunately visible to BoardReader
|
||||
* and TunerStudio would need these ordinals to fit into field size
|
||||
*/
|
||||
TEST_MAF_CHANNEL = 18,
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
} adc_channel_e;
|
||||
|
||||
#define INCOMPATIBLE_CONFIG_CHANGE EFI_ADC_0
|
||||
|
|
Loading…
Reference in New Issue