only:cleaner guards

This commit is contained in:
rusefillc 2024-03-15 12:42:01 -06:00
parent 655a405b0c
commit 2e53984dc4
4 changed files with 6 additions and 2 deletions

View File

@ -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))

View File

@ -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},

View File

@ -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

View File

@ -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