only:cleaner guards
This commit is contained in:
parent
655a405b0c
commit
2e53984dc4
|
@ -252,6 +252,7 @@ char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *bu
|
|||
extern AdcDevice fastAdc;
|
||||
#endif /* HAL_USE_ADC */
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
static void printSensorInfo() {
|
||||
#if HAL_USE_ADC
|
||||
// Print info about analog mappings
|
||||
|
@ -261,6 +262,7 @@ static void printSensorInfo() {
|
|||
// Print info about all sensors
|
||||
Sensor::showAllSensorInfo();
|
||||
}
|
||||
#endif // EFI_PROD_CODE
|
||||
|
||||
#define isOutOfBounds(offset) ((offset<0) || (offset) >= (int) sizeof(engine_configuration_s))
|
||||
|
||||
|
|
|
@ -745,10 +745,10 @@ const command_i_s commandsI[] = {
|
|||
{"idle_solenoid_freq", setIdleSolenoidFrequency},
|
||||
{"tps_accel_len", setTpsAccelLen},
|
||||
#endif // EFI_ENGINE_CONTROL
|
||||
#if EFI_PROD_CODE
|
||||
#if EFI_BOR_LEVEL
|
||||
{"bor", setBor},
|
||||
#endif // EFI_BOR_LEVEL
|
||||
#if EFI_PROD_CODE
|
||||
#if EFI_CAN_SUPPORT
|
||||
{"can_mode", setCanType},
|
||||
{"can_vss", setCanVss},
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
#define EFI_DYNO_VIEW FALSE
|
||||
#define EFI_ONBOARD_MEMS FALSE
|
||||
#define EFI_DAC FALSE
|
||||
#define EFI_WIFI FALSE
|
||||
#define EFI_BACKUP_SRAM FALSE
|
||||
#define EFI_HELLA_OIL FALSE
|
||||
#define EFI_USE_OPENBLT FALSE
|
||||
#define EFI_CAN_SERIAL FALSE
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define WATCHDOG_RESET_MS (2 * SLOW_CALLBACK_PERIOD_MS)
|
||||
// 300 ms is our default timeout
|
||||
#define WATCHDOG_TIMEOUT_MS (3 * WATCHDOG_RESET_MS)
|
||||
// 5 secs should be enough to wait until
|
||||
// 5 secs should be enough to wait until
|
||||
#define WATCHDOG_FLASH_TIMEOUT_MS 5000
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue