From d24f1462e2f44896427977f94420e0173e6512a1 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 4 Aug 2021 16:30:52 -0700 Subject: [PATCH] even more pch (#3112) * s * more * s * f7 --- .../hellen/hellen154hyundai/board_configuration.cpp | 6 +----- .../config/boards/hellen/hellen81/board_configuration.cpp | 7 +------ firmware/config/boards/proteus/adc_hack.cpp | 8 +------- firmware/console/binary/bluetooth.cpp | 1 - firmware/console/binary/signature.cpp | 3 ++- firmware/console/binary/tunerstudio.cpp | 2 -- firmware/console/binary/tunerstudio.h | 1 - firmware/console/console_io.cpp | 1 - firmware/controllers/actuators/electronic_throttle.cpp | 1 - firmware/controllers/can/can_tx.cpp | 1 - firmware/controllers/core/common_headers.h | 1 - firmware/controllers/lua/lua.cpp | 1 - firmware/controllers/lua/lua_hooks.cpp | 1 - firmware/controllers/math/pid_auto_tune.cpp | 4 ++-- firmware/controllers/sensors/redundant_ford_tps.cpp | 4 ++-- firmware/controllers/sensors/redundant_sensor.cpp | 4 ++-- firmware/controllers/sensors/sensor.cpp | 2 -- firmware/controllers/sensors/sensor_info_printing.cpp | 1 - firmware/controllers/sensors/software_knock.cpp | 1 - firmware/controllers/serial/serial_rx.cpp | 1 - firmware/hw_layer/adc/adc_inputs.cpp | 2 -- firmware/hw_layer/adc/ads1015.cpp | 3 ++- firmware/hw_layer/cdm_ion_sense.h | 1 - firmware/hw_layer/drivers/can/can_hw.cpp | 1 - firmware/hw_layer/drivers/gpio/drv8860.cpp | 2 +- firmware/hw_layer/drivers/gpio/mc33810.cpp | 1 - firmware/hw_layer/drivers/gpio/mc33972.cpp | 2 -- firmware/hw_layer/drivers/gpio/tle6240.cpp | 2 +- firmware/hw_layer/drivers/gpio/tle8888.cpp | 1 - firmware/hw_layer/drivers/serial/serial_hw.h | 5 ----- firmware/hw_layer/mmc_card.cpp | 1 - firmware/hw_layer/ports/stm32/osc_detector.cpp | 3 +-- firmware/hw_layer/ports/stm32/stm32f7/mpu_util.cpp | 3 ++- firmware/hw_layer/sensors/cj125.cpp | 2 +- firmware/hw_layer/sensors/hip9011.cpp | 1 - firmware/hw_layer/servo.cpp | 1 - firmware/hw_layer/stepper.h | 2 -- firmware/pch/pch.h | 2 ++ firmware/util/loggingcentral.cpp | 3 +-- firmware/util/math/error_accumulator.cpp | 3 ++- unit_tests/test_basic_math/test_efilib.cpp | 5 +---- unit_tests/tests/test_log_buffer.cpp | 4 +--- 42 files changed, 26 insertions(+), 75 deletions(-) diff --git a/firmware/config/boards/hellen/hellen154hyundai/board_configuration.cpp b/firmware/config/boards/hellen/hellen154hyundai/board_configuration.cpp index 77c3fb055f..f8d227d5ce 100644 --- a/firmware/config/boards/hellen/hellen154hyundai/board_configuration.cpp +++ b/firmware/config/boards/hellen/hellen154hyundai/board_configuration.cpp @@ -10,12 +10,8 @@ * @author Andrey Belomutskiy, (c) 2012-2020 */ -#include "global.h" -#include "engine.h" -#include "engine_math.h" -#include "allsensors.h" +#include "pch.h" #include "fsio_impl.h" -#include "engine_configuration.h" static void hellenWbo() { engineConfiguration->enableAemXSeries = true; diff --git a/firmware/config/boards/hellen/hellen81/board_configuration.cpp b/firmware/config/boards/hellen/hellen81/board_configuration.cpp index 09abe41f2b..9173e3599d 100644 --- a/firmware/config/boards/hellen/hellen81/board_configuration.cpp +++ b/firmware/config/boards/hellen/hellen81/board_configuration.cpp @@ -10,13 +10,8 @@ * @author Andrey Belomutskiy, (c) 2012-2021 */ -#include "global.h" -#include "engine.h" -#include "engine_math.h" -#include "allsensors.h" +#include "pch.h" #include "fsio_impl.h" -#include "engine_configuration.h" - static void setInjectorPins() { engineConfiguration->injectionPins[0] = GPIOG_7; diff --git a/firmware/config/boards/proteus/adc_hack.cpp b/firmware/config/boards/proteus/adc_hack.cpp index 2098ef38de..1892b1948a 100644 --- a/firmware/config/boards/proteus/adc_hack.cpp +++ b/firmware/config/boards/proteus/adc_hack.cpp @@ -6,13 +6,7 @@ * @author Matthew Kennedy, (c) 2019 */ -#include "ch.h" -#include "hal.h" - -#include "mpu_util.h" -#include "io_pins.h" - -#include "efilib.h" +#include "pch.h" #if USE_ADC3_VBATT_HACK diff --git a/firmware/console/binary/bluetooth.cpp b/firmware/console/binary/bluetooth.cpp index f5fc80aba3..a0f4486f10 100644 --- a/firmware/console/binary/bluetooth.cpp +++ b/firmware/console/binary/bluetooth.cpp @@ -17,7 +17,6 @@ #include "tunerstudio_io.h" #include "bluetooth.h" -#include "thread_priority.h" #if EFI_BLUETOOTH_SETUP diff --git a/firmware/console/binary/signature.cpp b/firmware/console/binary/signature.cpp index dd12a94297..210ac3a8ac 100644 --- a/firmware/console/binary/signature.cpp +++ b/firmware/console/binary/signature.cpp @@ -8,7 +8,8 @@ * @author andreika (c) 2020 */ -#include "efilib.h" +#include "pch.h" + #include "signature.h" // We take these precautions to avoid redefinition of signature in generated .h files diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 761e16d10e..b0f3649de4 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -80,10 +80,8 @@ #include #include "bench_test.h" #include "svnversion.h" -#include "loggingcentral.h" #include "status_loop.h" #include "mmc_card.h" -#include "thread_priority.h" #include "signature.h" diff --git a/firmware/console/binary/tunerstudio.h b/firmware/console/binary/tunerstudio.h index 12c395eee1..ecad71dddf 100644 --- a/firmware/console/binary/tunerstudio.h +++ b/firmware/console/binary/tunerstudio.h @@ -10,7 +10,6 @@ #include "tunerstudio_io.h" #if EFI_TUNER_STUDIO -#include "tunerstudio_outputs.h" #include "thread_controller.h" #include "thread_priority.h" diff --git a/firmware/console/console_io.cpp b/firmware/console/console_io.cpp index 09c46733d0..9fbe3cf471 100644 --- a/firmware/console/console_io.cpp +++ b/firmware/console/console_io.cpp @@ -40,7 +40,6 @@ #include "os_util.h" #include "tunerstudio.h" #include "connector_uart_dma.h" -#include "thread_priority.h" #if EFI_SIMULATOR #include "rusEfiFunctionalTest.h" diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 67bce58db7..8fa6346163 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -80,7 +80,6 @@ #include "dc_motor.h" #include "dc_motors.h" #include "pid_auto_tune.h" -#include "thread_priority.h" #if defined(HAS_OS_ACCESS) #error "Unexpected OS ACCESS HERE" diff --git a/firmware/controllers/can/can_tx.cpp b/firmware/controllers/can/can_tx.cpp index fe52f9a0be..a7ca83ab02 100644 --- a/firmware/controllers/can/can_tx.cpp +++ b/firmware/controllers/can/can_tx.cpp @@ -15,7 +15,6 @@ #include "can_dash.h" #include "obd2.h" #include "can_sensor.h" -#include "thread_priority.h" #include "rusefi_wideband.h" extern CanListener* canListeners_head; diff --git a/firmware/controllers/core/common_headers.h b/firmware/controllers/core/common_headers.h index 85dff6ca8d..9d1a3ef75c 100644 --- a/firmware/controllers/core/common_headers.h +++ b/firmware/controllers/core/common_headers.h @@ -29,7 +29,6 @@ #ifdef __cplusplus #include "engine_ptr.h" #include "datalogging.h" -#include "loggingcentral.h" #include "cli_registry.h" #endif /* __cplusplus */ diff --git a/firmware/controllers/lua/lua.cpp b/firmware/controllers/lua/lua.cpp index d989893175..16a97cbfdd 100644 --- a/firmware/controllers/lua/lua.cpp +++ b/firmware/controllers/lua/lua.cpp @@ -2,7 +2,6 @@ #include "rusefi_lua.h" #include "thread_controller.h" -#include "thread_priority.h" #if EFI_LUA diff --git a/firmware/controllers/lua/lua_hooks.cpp b/firmware/controllers/lua/lua_hooks.cpp index c02e5c3601..42c9f25cc3 100644 --- a/firmware/controllers/lua/lua_hooks.cpp +++ b/firmware/controllers/lua/lua_hooks.cpp @@ -3,7 +3,6 @@ #include "lua.hpp" #include "lua_hooks.h" -#include "loggingcentral.h" #include "fuel_math.h" #include "airmass.h" #include "lua_airmass.h" diff --git a/firmware/controllers/math/pid_auto_tune.cpp b/firmware/controllers/math/pid_auto_tune.cpp index dfcb8b5664..eee4921b7f 100644 --- a/firmware/controllers/math/pid_auto_tune.cpp +++ b/firmware/controllers/math/pid_auto_tune.cpp @@ -23,9 +23,9 @@ // IEEE Transactions on Control Systems Technology, vol 6 no 1, January 1998. // as reported on http://www.mstarlabs.com/control/znrule.html +#include "pch.h" + #include "pid_auto_tune.h" -#include "efilib.h" -#include "efitime.h" #if EFI_UNIT_TEST extern bool verboseMode; diff --git a/firmware/controllers/sensors/redundant_ford_tps.cpp b/firmware/controllers/sensors/redundant_ford_tps.cpp index ca5714087c..9861753c55 100644 --- a/firmware/controllers/sensors/redundant_ford_tps.cpp +++ b/firmware/controllers/sensors/redundant_ford_tps.cpp @@ -1,6 +1,6 @@ -#include "redundant_ford_tps.h" +#include "pch.h" -#include "efilib.h" +#include "redundant_ford_tps.h" RedundantFordTps::RedundantFordTps(SensorType outputType, SensorType first, SensorType second) : Sensor(outputType) diff --git a/firmware/controllers/sensors/redundant_sensor.cpp b/firmware/controllers/sensors/redundant_sensor.cpp index e4412b66e6..86198e30f1 100644 --- a/firmware/controllers/sensors/redundant_sensor.cpp +++ b/firmware/controllers/sensors/redundant_sensor.cpp @@ -1,6 +1,6 @@ -#include "redundant_sensor.h" +#include "pch.h" -#include "efilib.h" +#include "redundant_sensor.h" RedundantSensor::RedundantSensor(SensorType outputType, SensorType first, SensorType second) : Sensor(outputType) diff --git a/firmware/controllers/sensors/sensor.cpp b/firmware/controllers/sensors/sensor.cpp index d654dd6efa..3dfd34ce31 100644 --- a/firmware/controllers/sensors/sensor.cpp +++ b/firmware/controllers/sensors/sensor.cpp @@ -1,7 +1,5 @@ #include "pch.h" -#include "loggingcentral.h" - static const char* const s_sensorNames[] = { "Invalid", "CLT", diff --git a/firmware/controllers/sensors/sensor_info_printing.cpp b/firmware/controllers/sensors/sensor_info_printing.cpp index bea677ff0e..cd50ee28b4 100644 --- a/firmware/controllers/sensors/sensor_info_printing.cpp +++ b/firmware/controllers/sensors/sensor_info_printing.cpp @@ -7,7 +7,6 @@ #include "linear_func.h" #include "resistance_func.h" #include "thermistor_func.h" -#include "loggingcentral.h" void ProxySensor::showInfo(const char* sensorName) const { efiPrintf("Sensor \"%s\" proxied from sensor \"%s\"", sensorName, getSensorName(m_proxiedSensor)); diff --git a/firmware/controllers/sensors/software_knock.cpp b/firmware/controllers/sensors/software_knock.cpp index a67a8b9e19..d82de3be89 100644 --- a/firmware/controllers/sensors/software_knock.cpp +++ b/firmware/controllers/sensors/software_knock.cpp @@ -4,7 +4,6 @@ #include "thread_controller.h" #include "knock_logic.h" #include "software_knock.h" -#include "thread_priority.h" #include "peak_detect.h" #if EFI_SOFTWARE_KNOCK diff --git a/firmware/controllers/serial/serial_rx.cpp b/firmware/controllers/serial/serial_rx.cpp index 45890e3b81..983e6960a9 100644 --- a/firmware/controllers/serial/serial_rx.cpp +++ b/firmware/controllers/serial/serial_rx.cpp @@ -15,7 +15,6 @@ #include "serial_sensor.h" #include "vehicle_speed.h" -#include "thread_priority.h" uint8_t ser_buffer[SERBUFFLEN] = {}; size_t innovate_msg_len = 1; diff --git a/firmware/hw_layer/adc/adc_inputs.cpp b/firmware/hw_layer/adc/adc_inputs.cpp index a9b58d443f..611fbd05b4 100644 --- a/firmware/hw_layer/adc/adc_inputs.cpp +++ b/firmware/hw_layer/adc/adc_inputs.cpp @@ -29,8 +29,6 @@ #include "mpu_util.h" #include "periodic_thread_controller.h" -#include "thread_priority.h" - /* Depth of the conversion buffer, channels are sampled X times each.*/ #ifndef ADC_BUF_DEPTH_FAST #define ADC_BUF_DEPTH_FAST 4 diff --git a/firmware/hw_layer/adc/ads1015.cpp b/firmware/hw_layer/adc/ads1015.cpp index bab207a149..98dcf95f47 100644 --- a/firmware/hw_layer/adc/ads1015.cpp +++ b/firmware/hw_layer/adc/ads1015.cpp @@ -1,5 +1,6 @@ +#include "pch.h" + #include "ads1015.h" -#include "efilib.h" constexpr uint8_t addr = 0x48; diff --git a/firmware/hw_layer/cdm_ion_sense.h b/firmware/hw_layer/cdm_ion_sense.h index ec41e94203..c52aadeb72 100644 --- a/firmware/hw_layer/cdm_ion_sense.h +++ b/firmware/hw_layer/cdm_ion_sense.h @@ -30,7 +30,6 @@ public: }; #if EFI_TUNER_STUDIO -#include "tunerstudio_outputs.h" void ionPostState(TunerStudioOutputChannels *tsOutputChannels); #endif diff --git a/firmware/hw_layer/drivers/can/can_hw.cpp b/firmware/hw_layer/drivers/can/can_hw.cpp index d3c5302f59..684aafdf8f 100644 --- a/firmware/hw_layer/drivers/can/can_hw.cpp +++ b/firmware/hw_layer/drivers/can/can_hw.cpp @@ -21,7 +21,6 @@ #include "can_msg_tx.h" #include "string.h" #include "mpu_util.h" -#include "thread_priority.h" static int canReadCounter = 0; int canWriteOk = 0; diff --git a/firmware/hw_layer/drivers/gpio/drv8860.cpp b/firmware/hw_layer/drivers/gpio/drv8860.cpp index f6503a79f2..7e6ff9303d 100644 --- a/firmware/hw_layer/drivers/gpio/drv8860.cpp +++ b/firmware/hw_layer/drivers/gpio/drv8860.cpp @@ -13,10 +13,10 @@ */ #include "pch.h" + #include "gpio/gpio_ext.h" #include "gpio/drv8860.h" #include "os_util.h" -#include "thread_priority.h" #if (BOARD_DRV8860_COUNT > 0) diff --git a/firmware/hw_layer/drivers/gpio/mc33810.cpp b/firmware/hw_layer/drivers/gpio/mc33810.cpp index 8013eb4100..4811072d9b 100644 --- a/firmware/hw_layer/drivers/gpio/mc33810.cpp +++ b/firmware/hw_layer/drivers/gpio/mc33810.cpp @@ -14,7 +14,6 @@ #include "gpio/gpio_ext.h" #include "gpio/mc33810.h" #include "os_util.h" -#include "thread_priority.h" #if (BOARD_MC33810_COUNT > 0) diff --git a/firmware/hw_layer/drivers/gpio/mc33972.cpp b/firmware/hw_layer/drivers/gpio/mc33972.cpp index 7caad59c03..1ccc271ad4 100644 --- a/firmware/hw_layer/drivers/gpio/mc33972.cpp +++ b/firmware/hw_layer/drivers/gpio/mc33972.cpp @@ -17,8 +17,6 @@ #include "global.h" #include "gpio/gpio_ext.h" #include "gpio/mc33972.h" -#include "pin_repository.h" -#include "thread_priority.h" #if (BOARD_MC33972_COUNT > 0) diff --git a/firmware/hw_layer/drivers/gpio/tle6240.cpp b/firmware/hw_layer/drivers/gpio/tle6240.cpp index b5d8c48667..cf9cb09c8b 100644 --- a/firmware/hw_layer/drivers/gpio/tle6240.cpp +++ b/firmware/hw_layer/drivers/gpio/tle6240.cpp @@ -21,10 +21,10 @@ */ #include "pch.h" + #include "gpio/gpio_ext.h" #include "gpio/tle6240.h" #include "os_util.h" -#include "thread_priority.h" #if (BOARD_TLE6240_COUNT > 0) diff --git a/firmware/hw_layer/drivers/gpio/tle8888.cpp b/firmware/hw_layer/drivers/gpio/tle8888.cpp index 47f52d4d36..d2596c9a8f 100644 --- a/firmware/hw_layer/drivers/gpio/tle8888.cpp +++ b/firmware/hw_layer/drivers/gpio/tle8888.cpp @@ -39,7 +39,6 @@ #include "hardware.h" #include "gpio/gpio_ext.h" #include "os_util.h" -#include "thread_priority.h" /* * TODO list: diff --git a/firmware/hw_layer/drivers/serial/serial_hw.h b/firmware/hw_layer/drivers/serial/serial_hw.h index 84f2b0d9c8..1e756b0fc0 100644 --- a/firmware/hw_layer/drivers/serial/serial_hw.h +++ b/firmware/hw_layer/drivers/serial/serial_hw.h @@ -8,11 +8,6 @@ #pragma once -#include "efifeatures.h" -#if EFI_TUNER_STUDIO -#include "tunerstudio_outputs.h" -#endif /* EFI_TUNER_STUDIO */ - void initAuxSerial(void); #if EFI_AUX_SERIAL void stopAuxSerialPins(DECLARE_ENGINE_PARAMETER_SIGNATURE); diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index bf1e89ec89..6b82dd8ed3 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -25,7 +25,6 @@ #include "status_loop.h" #include "buffered_writer.h" #include "mass_storage_init.h" -#include "thread_priority.h" #include "rtc_helper.h" diff --git a/firmware/hw_layer/ports/stm32/osc_detector.cpp b/firmware/hw_layer/ports/stm32/osc_detector.cpp index b52cbb985b..398e6e7c09 100644 --- a/firmware/hw_layer/ports/stm32/osc_detector.cpp +++ b/firmware/hw_layer/ports/stm32/osc_detector.cpp @@ -14,8 +14,7 @@ * (PLLM is set to N for an N-MHz HSE crystal). */ -#include "hal.h" -#include "efilib.h" +#include "pch.h" #ifdef ENABLE_AUTO_DETECT_HSE diff --git a/firmware/hw_layer/ports/stm32/stm32f7/mpu_util.cpp b/firmware/hw_layer/ports/stm32/stm32f7/mpu_util.cpp index 3ff4ff773b..286723d7ba 100644 --- a/firmware/hw_layer/ports/stm32/stm32f7/mpu_util.cpp +++ b/firmware/hw_layer/ports/stm32/stm32f7/mpu_util.cpp @@ -5,7 +5,8 @@ * @author Andrey Belomutskiy, (c) 2012-2020 */ -#include "hal.h" +#include "pch.h" + #include "flash_int.h" static bool isDualBank() { diff --git a/firmware/hw_layer/sensors/cj125.cpp b/firmware/hw_layer/sensors/cj125.cpp index 6950a2e329..588389c542 100644 --- a/firmware/hw_layer/sensors/cj125.cpp +++ b/firmware/hw_layer/sensors/cj125.cpp @@ -15,8 +15,8 @@ */ #include "pch.h" + #include "cj125.h" -#include "thread_priority.h" #if EFI_CJ125 diff --git a/firmware/hw_layer/sensors/hip9011.cpp b/firmware/hw_layer/sensors/hip9011.cpp index 938d3df49c..89d28cc5e2 100644 --- a/firmware/hw_layer/sensors/hip9011.cpp +++ b/firmware/hw_layer/sensors/hip9011.cpp @@ -38,7 +38,6 @@ #include "trigger_central.h" #include "hip9011_logic.h" #include "hip9011.h" -#include "thread_priority.h" #if EFI_PROD_CODE #include "mpu_util.h" diff --git a/firmware/hw_layer/servo.cpp b/firmware/hw_layer/servo.cpp index 65b93cf13b..8d1c3402e3 100644 --- a/firmware/hw_layer/servo.cpp +++ b/firmware/hw_layer/servo.cpp @@ -16,7 +16,6 @@ #if EFI_SERVO || EFI_SIMULATOR #include "servo.h" -#include "thread_priority.h" // This thread calls scheduleForLater which eventually could trip the main trigger callback // if self stimulation (heh) is enabled, which uses a TON of stack space. diff --git a/firmware/hw_layer/stepper.h b/firmware/hw_layer/stepper.h index fa68d29fa7..44f3ae347a 100644 --- a/firmware/hw_layer/stepper.h +++ b/firmware/hw_layer/stepper.h @@ -86,8 +86,6 @@ protected: #if !EFI_UNIT_TEST -#include "thread_priority.h" - class StepperMotor final : public StepperMotorBase, private ThreadController { public: StepperMotor() : ThreadController("stepper", PRIO_STEPPER) {} diff --git a/firmware/pch/pch.h b/firmware/pch/pch.h index 2147f18631..300ad92cf7 100644 --- a/firmware/pch/pch.h +++ b/firmware/pch/pch.h @@ -11,6 +11,7 @@ #include "efifeatures.h" #include "rusefi_generated.h" +#include "loggingcentral.h" #include "engine_ptr.h" #include "error_handling.h" #include "global.h" @@ -27,6 +28,7 @@ #include "interpolation.h" #include "perf_trace.h" #include "hardware.h" +#include "thread_priority.h" #if EFI_UNIT_TEST #include diff --git a/firmware/util/loggingcentral.cpp b/firmware/util/loggingcentral.cpp index 318d92384d..6d1518723d 100644 --- a/firmware/util/loggingcentral.cpp +++ b/firmware/util/loggingcentral.cpp @@ -22,10 +22,9 @@ */ #include "pch.h" + #include "os_access.h" -#include "loggingcentral.h" #include "thread_controller.h" -#include "thread_priority.h" template void LogBuffer::writeLine(LogLineBuffer* line) { diff --git a/firmware/util/math/error_accumulator.cpp b/firmware/util/math/error_accumulator.cpp index 10380659e4..056b430693 100644 --- a/firmware/util/math/error_accumulator.cpp +++ b/firmware/util/math/error_accumulator.cpp @@ -1,5 +1,6 @@ +#include "pch.h" + #include "error_accumulator.h" -#include "efilib.h" float ErrorAccumulator::accumulate(float error) { // We only care about the absolute value of the error diff --git a/unit_tests/test_basic_math/test_efilib.cpp b/unit_tests/test_basic_math/test_efilib.cpp index 072e255718..0c9e4b3308 100644 --- a/unit_tests/test_basic_math/test_efilib.cpp +++ b/unit_tests/test_basic_math/test_efilib.cpp @@ -5,10 +5,7 @@ * @author Matthew Kennedy, (c) 2019 */ -#include "gtest/gtest.h" - -#include "efilib.h" -#include +#include "pch.h" TEST(EfiLibTest, ExpTaylor) { diff --git a/unit_tests/tests/test_log_buffer.cpp b/unit_tests/tests/test_log_buffer.cpp index 57f22690a0..bae15106e5 100644 --- a/unit_tests/tests/test_log_buffer.cpp +++ b/unit_tests/tests/test_log_buffer.cpp @@ -1,6 +1,4 @@ -#include "loggingcentral.h" -#include -#include +#include "pch.h" using ::testing::ElementsAre;